[TESTS] Remove environment setup from script
This commit is contained in:
parent
88e513c610
commit
b41de11364
|
@ -2,16 +2,5 @@
|
|||
|
||||
cd /var/www/social || exit 1
|
||||
|
||||
printf "Cleaning Redis cache: " && echo "FLUSHALL" | nc redis 6379
|
||||
bin/console doctrine:database:drop --force --if-exists || exit 1
|
||||
bin/console doctrine:database:create || exit 1
|
||||
bin/console doctrine:schema:update --force || exit 1
|
||||
yes yes | bin/console doctrine:fixtures:load || exit 1
|
||||
|
||||
if [ "$#" -eq 0 ] || [ -z "$*" ]; then
|
||||
# XDEBUG_MODE=off vendor/bin/paratest --verbose --debug --processes=32 --functional --configuration=phpunit.xml.dist $*
|
||||
php -dpcov.enabled=1 -dpcov.directory=. -dpcov.exclude="~vendor~" vendor/bin/phpunit --configuration=phpunit.xml.dist $*
|
||||
else
|
||||
echo "Running with filter"
|
||||
XDEBUG_MODE=off vendor/bin/paratest --processes=32 --functional --configuration=phpunit.xml.dist $*
|
||||
fi
|
||||
php -dpcov.enabled=1 -dpcov.directory=. -dpcov.exclude="~vendor~" vendor/bin/phpunit --configuration=phpunit.xml.dist $*
|
||||
# XDEBUG_MODE=off vendor/bin/paratest --processes=32 --functional --configuration=phpunit.xml.dist $*
|
||||
|
|
Loading…
Reference in New Issue
Block a user