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