There was an error while loading. Please reload this page.
1 parent 4432f86 commit 311f06dCopy full SHA for 311f06d
1 file changed
.scrutinizer.yml
@@ -11,8 +11,9 @@ build:
11
override:
12
- command: cp .env.example .env
13
- command: php artisan key:generate
14
- - command: until mysql -h 127.0.0.1 -u root -e "SELECT 1" >/dev/null 2>&1; do sleep 1; done
15
- - command: mysql -h 127.0.0.1 -u root -e "CREATE DATABASE IF NOT EXISTS \`swinn-test\`;"
+ - command: sudo service mysql start || true
+ - command: until mysqladmin -u root ping --silent 2>/dev/null; do sleep 1; done
16
+ - command: mysql -u root -e "CREATE DATABASE IF NOT EXISTS \`swinn-test\`;"
17
- command: php artisan migrate --force
18
- command: php artisan passport:install --no-interaction
19
- command: vendor/bin/phpunit
0 commit comments