From be17263b658fd3ad6927ebe2d08bd1ed18d87a87 Mon Sep 17 00:00:00 2001 From: Gert de Pagter Date: Fri, 4 Oct 2019 15:58:29 +0200 Subject: [PATCH] Allow composer to work on nightly version (#69) Allow composer to work on nightly version - The platform requirements is incompatible with php 8, so we tell composer to ignore it (for now) - Remove the `composer update` as it was doing duplicate work --- .travis.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 1544303..1386ccb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -17,8 +17,9 @@ sudo: false before_script: - phpenv config-rm xdebug.ini || true - - composer require satooshi/php-coveralls:~2.0.0 --no-update --dev - - composer install --prefer-source + - if [[ $TRAVIS_PHP_VERSION = nightly ]]; then export COMPOSER_FLAGS=" --ignore-platform-reqs"; fi + - composer require satooshi/php-coveralls:~2.0.0 --no-update --dev $COMPOSER_FLAGS + - composer install --prefer-source $COMPOSER_FLAGS script: - php vendor/bin/phpunit