mirror of
https://github.com/danog/phpdoc-parser.git
synced 2025-01-22 22:01:36 +01:00
travis: simplify build matrix
This commit is contained in:
parent
ee0a77bc99
commit
70f27a2d5e
27
.travis.yml
27
.travis.yml
@ -5,26 +5,12 @@ php:
|
||||
- 7.2
|
||||
- master
|
||||
|
||||
env:
|
||||
- dependencies=lowest
|
||||
- dependencies=highest
|
||||
|
||||
matrix:
|
||||
include:
|
||||
- php: 7.0
|
||||
env: dependencies=lowest
|
||||
- php: 7.0
|
||||
env: dependencies=highest
|
||||
- php: 7.1
|
||||
env: dependencies=lowest
|
||||
- php: 7.1
|
||||
env: dependencies=highest
|
||||
- php: 7.2
|
||||
env: dependencies=lowest
|
||||
- php: 7.2
|
||||
env: dependencies=highest
|
||||
- php: master
|
||||
env: dependencies=lowest
|
||||
- php: master
|
||||
env: dependencies=highest
|
||||
allow_failures:
|
||||
- php: master
|
||||
- php: master
|
||||
env: dependencies=lowest
|
||||
- php: master
|
||||
@ -32,9 +18,8 @@ matrix:
|
||||
|
||||
before_script:
|
||||
- composer self-update
|
||||
- if [ -z "$dependencies" ]; then composer install; fi;
|
||||
- if [ "$dependencies" = "lowest" ]; then composer update --prefer-lowest -n; fi;
|
||||
- if [ "$dependencies" = "highest" ]; then composer update -n; fi;
|
||||
- if [ "$dependencies" = "lowest" ]; then composer update --prefer-lowest --no-interaction; fi;
|
||||
- if [ "$dependencies" = "highest" ]; then composer update --no-interaction; fi;
|
||||
|
||||
script:
|
||||
- vendor/bin/phing
|
||||
|
Loading…
x
Reference in New Issue
Block a user