Skip to content

Commit

Permalink
Stay with Composer 1 on PHP 7.1
Browse files Browse the repository at this point in the history
We are using a plugin that requires the old API. Upgrading that plugin
means upgrading our coding standard library, and the new versions of
that library requires PHP 7.2
  • Loading branch information
greg0ire committed Oct 24, 2020
1 parent 9c20642 commit 261d493
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ before_install:

install:
- rm composer.lock
- if [[ ${TRAVIS_PHP_VERSION:0:3} == "7.1" ]]; then composer self-update --1; fi
- travis_retry composer update --prefer-dist

script:
Expand All @@ -36,6 +37,7 @@ jobs:
env: DEPENDENCIES=low
install:
- rm composer.lock
- composer self-update --1
- travis_retry composer update --prefer-dist --prefer-lowest

- stage: Test
Expand Down

0 comments on commit 261d493

Please sign in to comment.