Skip to content

Commit

Permalink
Allow composer to work on nightly version (#69)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
BackEndTea authored and Márcio Almada committed Jul 20, 2021
1 parent 50a2779 commit be17263
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit be17263

Please sign in to comment.