Skip to content

Commit 9307ef7

Browse files
Merge pull request #6 from ssnepenthe/phpunit-travis-nightly
Ensure PHPUnit 5.7.* is installed for PHP nightly on Travis.
2 parents e5c4a65 + bdf5ceb commit 9307ef7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

templates/plugin-travis.mustache

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@ before_script:
3535
- |
3636
if [[ ! -z "$WP_VERSION" ]] ; then
3737
bash bin/install-wp-tests.sh wordpress_test root '' localhost $WP_VERSION
38-
if [[ ${TRAVIS_PHP_VERSION:0:2} == "7." ]]; then
39-
composer global require "phpunit/phpunit=5.7.*"
40-
else
38+
if [[ ${TRAVIS_PHP_VERSION:0:2} == "5." ]]; then
4139
composer global require "phpunit/phpunit=4.8.*"
40+
else
41+
composer global require "phpunit/phpunit=5.7.*"
4242
fi
4343
fi
4444
- |

0 commit comments

Comments
 (0)