Skip to content
This repository was archived by the owner on Apr 4, 2023. It is now read-only.

Commit 8d312a1

Browse files
committed
update phpunit usage
1 parent 2f68d37 commit 8d312a1

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

.travis.yml

Lines changed: 5 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
@@ -19,6 +19,7 @@ env:
1919
- GH_REF: https://github.com/pfefferle/wordpress-semantic-linkbacks.git
2020
matrix:
2121
include:
22+
- php: 7.4
2223
- php: 7.3
2324
- php: 7.2
2425
- php: 7.1
@@ -44,13 +45,9 @@ before_script:
4445
echo "Using PHPUnit 6.x"
4546
composer global require "phpunit/phpunit:^6"
4647
;;
47-
5.6|5.5|5.4|5.3)
48-
echo "Using PHPUnit 4.x"
49-
composer global require "phpunit/phpunit:^4"
50-
;;
51-
5.2)
52-
# Do nothing, use default PHPUnit 3.6.x
53-
echo "Using default PHPUnit, hopefully 3.6"
48+
5.6)
49+
echo "Using PHPUnit 5.x"
50+
composer global require "phpunit/phpunit:^5"
5451
;;
5552
*)
5653
echo "No PHPUnit version handling for PHP version $TRAVIS_PHP_VERSION"

0 commit comments

Comments
 (0)