Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- image: smartapps/bitbucket-pipelines-php-mysql:stretch
- pipelines:
- default:
- - step:
- script:
- - service mysql start
- - mysql -h localhost --user=root --password=root -e "CREATE DATABASE tests;"
- - composer install
- - php -r "file_exists('.env') || copy('.env.tests', '.env');"
- - php artisan optimize
- - php artisan key:generate
- - php artisan migrate
- - php artisan db:seed
- - php vendor/bin/phpunit --configuration phpunit.xml
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement