Skip to content

Commit 8f883f9

Browse files
author
Manuele Vaccari
committed
Update 149
1 parent 7c2cd62 commit 8f883f9

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

.travis.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ install:
3636
- composer install
3737
- |
3838
if [[ $TRAVIS_PHP_VERSION == hhvm ]]; then
39-
composer require --dev "phpunit/phpunit:^5"
39+
curl -sSfL -o ~/.phpenv/versions/hhvm/bin/phpunit https://phar.phpunit.de/phpunit-5.7.phar
4040
fi
4141
# - |
4242
# if [ ! -f "$HOME/mc-server/spigot-1.12.2.jar" ]; then
@@ -53,7 +53,13 @@ install:
5353

5454
script:
5555
# - VOTIFIER_KEY=$(cat $HOME/mc-server/plugins/Votifier/rsa/public.key); ./phpunit
56-
- ./vendor/bin/phpunit
56+
- |
57+
if [[ $TRAVIS_PHP_VERSION == hhvm ]]; then
58+
~/.phpenv/versions/hhvm/bin/phpunit
59+
else
60+
./vendor/bin/phpunit
61+
fi
62+
-
5763

5864
after_script:
5965
- |

0 commit comments

Comments
 (0)