From d8d1d3d3c34fd2b4d69f847783d2665a4648289a Mon Sep 17 00:00:00 2001 From: jrfnl Date: Mon, 27 Jan 2020 04:50:05 +0100 Subject: [PATCH] Travis: remove redundant condition As the tests for this repo do not use the PHPCS native test classes, there is no need for toggling the PHPUnit version. --- .travis.yml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index 32a29dc4..8e6be1d8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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.