Advertisement
Guest User

Untitled

a guest
Jan 30th, 2017
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. image: smartapps/bitbucket-pipelines-php-mysql:stretch
  2.  
  3. pipelines:
  4. default:
  5. - step:
  6. script:
  7. - service mysql start
  8. - mysql -h localhost --user=root --password=root -e "CREATE DATABASE tests;"
  9. - composer install
  10. - php -r "file_exists('.env') || copy('.env.tests', '.env');"
  11. - php artisan optimize
  12. - php artisan key:generate
  13. - php artisan migrate
  14. - php artisan db:seed
  15. - php vendor/bin/phpunit --configuration phpunit.xml
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement