mirror of
https://github.com/danog/amp.git
synced 2024-11-26 20:15:00 +01:00
Fix travis build to allow failures on 7.1
This commit is contained in:
parent
a643f9a260
commit
7a95f58b3b
15
.travis.yml
15
.travis.yml
@ -7,18 +7,21 @@ php:
|
||||
- 7.1
|
||||
- nightly
|
||||
|
||||
env:
|
||||
matrix:
|
||||
- DEPS=lowest
|
||||
- DEPS=highest
|
||||
allow_failures:
|
||||
- php: nightly
|
||||
fast_finish: true
|
||||
|
||||
env:
|
||||
- DEPS=lowest
|
||||
- DEPS=highest
|
||||
|
||||
install:
|
||||
- if [ "$DEPS" = "lowest" ]; then composer update -n --prefer-source --prefer-lowest; fi;
|
||||
- if [ "$DEPS" = "highest" ]; then composer update -n --prefer-source; fi;
|
||||
- composer show
|
||||
- if [ "$DEPS" = "lowest" ]; then
|
||||
composer update -n --prefer-source --prefer-lowest;
|
||||
else
|
||||
composer update -n --prefer-source;
|
||||
fi;
|
||||
|
||||
script:
|
||||
- phpdbg -qrr vendor/bin/phpunit --coverage-text --coverage-clover build/logs/clover.xml
|
||||
|
Loading…
Reference in New Issue
Block a user