Skip to content

Commit

Permalink
Merge pull request #68 from Yoast/JRF/minor-Travis-improvement
Browse files Browse the repository at this point in the history
Travis: don't install PHPUnit when not needed
  • Loading branch information
felixarntz authored May 29, 2018
2 parents e06c8cb + c631962 commit cb38271
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,8 @@ before_install:

install:
- if [[ $TRAVIS_PHP_VERSION == "5.2" || $TRAVIS_PHP_VERSION == "5.3" ]]; then phpenv local 5.3.29; fi
- composer selfupdate --no-interaction
- composer install --prefer-dist --no-interaction
- if [[ "$TRAVIS_PHP_VERSION" == "5.2" ]]; then composer remove --dev phpunit/phpunit; fi
- composer install --prefer-dist --no-interaction
- if [[ $TRAVIS_PHP_VERSION == "5.2" || $TRAVIS_PHP_VERSION == "5.3" ]]; then phpenv local --unset; fi

script:
Expand Down

0 comments on commit cb38271

Please sign in to comment.