Skip to content

Commit

Permalink
Merge pull request #67 from PHPCSStandards/feature/travis-remove-redu…
Browse files Browse the repository at this point in the history
…ndant-phpunit-toggle

Travis: remove redundant condition
  • Loading branch information
jrfnl authored Jan 27, 2020
2 parents 0d57749 + d8d1d3d commit e0d2035
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -165,12 +165,6 @@ install:
if [[ $PHPCS_VERSION == "n/a" ]]; then
# Don't install PHPUnit when it's not needed.
composer remove --dev phpunit/phpunit --no-update --no-scripts
elif [[ "$PHPCS_VERSION" < "3.1.0" ]]; then
# PHPCS < 3.1.0 is not compatible with PHPUnit 6.x.
composer require --dev phpunit/phpunit:"^4.0||^5.0" --no-update --no-scripts
elif [[ "$PHPCS_VERSION" < "3.2.3" ]]; then
# PHPCS < 3.2.3 is not compatible with PHPUnit 7.x.
composer require --dev phpunit/phpunit:"^4.0||^5.0||^6.0" --no-update --no-scripts
fi
# --prefer-dist will allow for optimal use of the travis caching ability.
Expand Down

0 comments on commit e0d2035

Please sign in to comment.