mirror of
https://github.com/smarty-php/smarty.git
synced 2025-12-04 16:29:20 +01:00
13 lines
312 B
Bash
13 lines
312 B
Bash
|
|
#!/bin/sh
|
||
|
|
composer update
|
||
|
|
|
||
|
|
php -r 'echo "\nPHP version " . phpversion() . ". ";';
|
||
|
|
|
||
|
|
if [ -z $1 ];
|
||
|
|
then
|
||
|
|
echo "Running all unit tests.\n"
|
||
|
|
php ./vendor/phpunit/phpunit/phpunit
|
||
|
|
else
|
||
|
|
echo "Running all unit tests, except tests marked with @group $1.\n"
|
||
|
|
php ./vendor/phpunit/phpunit/phpunit --exclude-group $1
|
||
|
|
fi
|