mirror of
https://github.com/erusev/parsedown.git
synced 2023-08-10 21:13:06 +03:00
Add travis build stages
This commit is contained in:
parent
a42848da57
commit
5795a6f0a9
48
.travis.yml
48
.travis.yml
@ -3,18 +3,23 @@ language: php
|
|||||||
dist: trusty
|
dist: trusty
|
||||||
sudo: false
|
sudo: false
|
||||||
|
|
||||||
matrix:
|
stages:
|
||||||
include:
|
- Code Style and Static Analysis
|
||||||
- php: 5.3
|
- test
|
||||||
dist: precise
|
- Test CommonMark (weak)
|
||||||
- php: 5.4
|
|
||||||
- php: 5.5
|
php:
|
||||||
- php: 5.6
|
- 5.5
|
||||||
- php: 7.0
|
- 5.6
|
||||||
- php: 7.1
|
- 7.0
|
||||||
- php: 7.2
|
- 7.1
|
||||||
- php: 7.3
|
- 7.2
|
||||||
- php: nightly
|
- 7.3
|
||||||
|
- nightly
|
||||||
|
- hhvm
|
||||||
|
- hhvm-nightly
|
||||||
|
|
||||||
|
matrix:
|
||||||
fast_finish: true
|
fast_finish: true
|
||||||
allow_failures:
|
allow_failures:
|
||||||
- php: nightly
|
- php: nightly
|
||||||
@ -23,6 +28,19 @@ install:
|
|||||||
- composer install --prefer-dist --no-interaction --no-progress
|
- composer install --prefer-dist --no-interaction --no-progress
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- vendor/bin/phpunit
|
- composer test-units
|
||||||
- vendor/bin/phpunit test/CommonMarkTestWeak.php || true
|
|
||||||
- '[ -z "$TRAVIS_TAG" ] || [ "$TRAVIS_TAG" == "$(php -r "require(\"vendor/autoload.php\"); echo Erusev\Parsedown\Parsedown::version;")" ]'
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user