Move artisan calls into the install phase

This commit is contained in:
Nabeel Shahzad
2019-06-18 19:32:05 -04:00
parent da87a35a69
commit 4259533958
+2 -2
View File
@@ -30,11 +30,11 @@ before_script:
install: install:
- composer install --dev --no-interaction --verbose - composer install --dev --no-interaction --verbose
- php artisan database:create --reset
- php artisan migrate:refresh --seed
script: script:
- vendor/bin/php-cs-fixer fix --config=.php_cs -v --dry-run --diff --using-cache=no - vendor/bin/php-cs-fixer fix --config=.php_cs -v --dry-run --diff --using-cache=no
- php artisan database:create --reset
- php artisan migrate:refresh --seed
- vendor/bin/phpunit --debug --verbose - vendor/bin/phpunit --debug --verbose
after_failure: after_failure: