From b036ddbdd53848cde41b2d130553cbf2ff25fa9d Mon Sep 17 00:00:00 2001 From: Sebastian Bergmann Date: Mon, 27 Feb 2017 17:56:18 +0100 Subject: [PATCH] Update TravisCI configuration --- .travis.yml | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 7e607c82f..76de1c70e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,13 +2,22 @@ language: php php: - 7.0 + - 7.0snapshot - 7.1 - - nightly + - 7.1snapshot + - master + +matrix: + allow_failures: + - php: master + fast_finish: true env: matrix: - - DRIVER="xdebug" - - DRIVER="phpdbg" + - DRIVER="xdebug" DEPENDENCIES="high" + - DRIVER="phpdbg" DEPENDENCIES="high" + - DRIVER="xdebug" DEPENDENCIES="low" + - DRIVER="phpdbg" DEPENDENCIES="low" sudo: false @@ -17,7 +26,8 @@ before_install: - composer clear-cache install: - - travis_retry composer update --no-interaction --no-ansi --no-progress --no-suggest --optimize-autoloader --prefer-stable + - if [[ "$DEPENDENCIES" = 'high' ]]; then travis_retry composer update --no-interaction --no-ansi --no-progress --no-suggest --optimize-autoloader --prefer-stable; fi + - if [[ "$DEPENDENCIES" = 'low' ]]; then travis_retry composer update --no-interaction --no-ansi --no-progress --no-suggest --optimize-autoloader --prefer-stable --prefer-lowest; fi script: - if [[ "$DRIVER" = 'phpdbg' ]]; then phpdbg -qrr vendor/bin/phpunit; fi