1
0
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:
Aaron Piotrowski 2017-01-11 20:25:45 -06:00
parent a643f9a260
commit 7a95f58b3b

View File

@ -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