Skip to content

Commit 98e199a

Browse files
committed
fix unit tests
1 parent ddfe529 commit 98e199a

1 file changed

Lines changed: 4 additions & 8 deletions

File tree

.travis.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ cache:
99
directories:
1010
- vendor
1111
- $HOME/.composer/cache
12-
after_success:
12+
after_success:
1313
env:
1414
matrix:
1515
- WP_VERSION=latest WP_MULTISITE=0
@@ -43,13 +43,9 @@ before_script:
4343
echo "Using PHPUnit 6.x"
4444
composer global require "phpunit/phpunit:^6"
4545
;;
46-
5.6|5.5|5.4|5.3)
47-
echo "Using PHPUnit 4.x"
48-
composer global require "phpunit/phpunit:^4"
49-
;;
50-
5.2)
51-
# Do nothing, use default PHPUnit 3.6.x
52-
echo "Using default PHPUnit, hopefully 3.6"
46+
5.6)
47+
echo "Using PHPUnit 5.x"
48+
composer global require "phpunit/phpunit:^5"
5349
;;
5450
*)
5551
echo "No PHPUnit version handling for PHP version $TRAVIS_PHP_VERSION"

0 commit comments

Comments
 (0)