From 3cf61fdd267a9c39167eaa715b121a3d787f3c3f Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Sun, 23 Jun 2019 15:11:05 +0200 Subject: [PATCH] Only ignore-platform-reqs on nightly --- .travis.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index d33d7a8..9c7ae8d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,7 +16,12 @@ php: install: - if [ $TRAVIS_PHP_VERSION = '7.0' ]; then composer require satooshi/php-coveralls '~1.0'; fi - - composer install --prefer-dist --ignore-platform-reqs + - | + if [ $TRAVIS_PHP_VERSION = 'nightly' ]; then + composer install --prefer-dist --ignore-platform-reqs; + else + composer install --prefer-dist; + fi matrix: allow_failures: