mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-13 21:35:21 +00:00
travis.sh: don't redownload phpunit if it already locally exists
This commit is contained in:
parent
7ffc477d76
commit
a86bcd5110
@ -21,7 +21,7 @@ if [ $? -ne 0 ]; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
curl https://phar.phpunit.de/phpunit-7.phar --silent --location -o phpunit.phar
|
[ ! -f phpunit.phar ] && echo "Downloading PHPUnit..." && curl https://phar.phpunit.de/phpunit-7.phar --silent --location -o phpunit.phar
|
||||||
"$PHP_BINARY" phpunit.phar --bootstrap vendor/autoload.php --fail-on-warning tests/phpunit || exit 1
|
"$PHP_BINARY" phpunit.phar --bootstrap vendor/autoload.php --fail-on-warning tests/phpunit || exit 1
|
||||||
|
|
||||||
#Run-the-server tests
|
#Run-the-server tests
|
||||||
|
Loading…
x
Reference in New Issue
Block a user