Skip to content

Commit

Permalink
Add --ignore-platform-reqs to composer install for nightly
Browse files Browse the repository at this point in the history
  • Loading branch information
othercorey committed Jul 17, 2020
1 parent de1d211 commit e23501c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .travis.yml
Expand Up @@ -45,9 +45,11 @@ before_install:
install:
- |
if [[ $PREFER_LOWEST == 1 ]]; then
travis_retry composer update --no-interaction --prefer-stable
composer update --no-interaction --prefer-stable
elif [[ $TRAVIS_PHP_VERSION == 'nightly' ]]; then
composer install --no-interaction --ignore-platform-reqs
else
travis_retry composer update --no-interaction --prefer-stable --prefer-lowest
composer update --no-interaction --prefer-stable --prefer-lowest
fi
script:
Expand Down

0 comments on commit e23501c

Please sign in to comment.