2021-05-02 13:39:32 +01:00
|
|
|
#!/bin/sh
|
|
|
|
|
2021-05-05 13:15:05 +01:00
|
|
|
cd /var/www/social || exit 65
|
|
|
|
|
|
|
|
yes yes | php bin/console doctrine:fixtures:load || exit 65
|
|
|
|
|
2021-05-05 13:44:34 +01:00
|
|
|
if runuser -u www-data -- bin/phpunit --coverage-html .test_coverage_report; then
|
2021-05-02 13:39:32 +01:00
|
|
|
exit 64
|
|
|
|
else
|
|
|
|
exit 65
|
|
|
|
fi
|