fix phpunit cannot work in vagrant virtual machine
only phpunit version 5 can be used to run the tests
This commit is contained in:
committed by
Frédéric Guillot
parent
3855617743
commit
9f1419ee6b
6
Vagrantfile
vendored
6
Vagrantfile
vendored
@@ -17,9 +17,9 @@ curl -sS https://getcomposer.org/installer | sudo php -- --install-dir=/usr/loca
|
|||||||
|
|
||||||
cd /var/www/html && composer install
|
cd /var/www/html && composer install
|
||||||
|
|
||||||
wget -q https://phar.phpunit.de/phpunit.phar
|
wget -q -O phpunit https://phar.phpunit.de/phpunit-5.phar
|
||||||
chmod +x phpunit.phar
|
chmod +x phpunit
|
||||||
sudo mv phpunit.phar /usr/local/bin/phpunit
|
sudo mv phpunit /usr/local/bin/phpunit
|
||||||
|
|
||||||
SCRIPT
|
SCRIPT
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user