parsedown/.travis.yml

47 lines
819 B
YAML
Raw Normal View History

2013-07-22 22:59:51 +02:00
language: php
2017-11-14 18:19:24 +01:00
dist: trusty
sudo: false
2018-12-05 08:13:55 +01:00
stages:
- Code Style and Static Analysis
- test
- Test CommonMark (weak)
php:
- 5.5
- 5.6
- 7.0
- 7.1
- 7.2
- 7.3
- nightly
- hhvm
- hhvm-nightly
matrix:
fast_finish: true
allow_failures:
2016-10-13 22:17:03 +02:00
- php: nightly
install:
- composer install --prefer-dist --no-interaction --no-progress
script:
2018-12-05 08:13:55 +01:00
- composer test-units
jobs:
include:
- stage: Code Style and Static Analysis
php: 7.2
script:
- '[ -z "$TRAVIS_TAG" ] || [ "$TRAVIS_TAG" == "$(php -r "require(\"vendor/autoload.php\"); echo Erusev\Parsedown\Parsedown::version;")" ]'
- composer test-formatting
- stage: Test CommonMark (weak)
php: 7.2
script:
- composer test-commonmark-weak || true
allow_failures:
- php: 7.2