Travis DB setup
- Added testing setup command for configuring testing db and environment - Updated travis.yml to use MySQL service Apply fixes from StyleCI added user to access db in travis.yml updates updates Apply fixes from StyleCI
This commit is contained in:

committed by
Manish Verma

parent
6742e13d81
commit
426a285431
@@ -1,6 +1,10 @@
|
||||
# Required to run your project under the correct environment.
|
||||
language: php
|
||||
|
||||
#Use Mysql service for DB to run testcases
|
||||
services:
|
||||
- mysql
|
||||
|
||||
# Versions of PHP you want your project run with.
|
||||
php:
|
||||
- 7.1
|
||||
@@ -10,6 +14,7 @@ php:
|
||||
before_script:
|
||||
- composer self-update
|
||||
- composer install --prefer-source --no-interaction --dev
|
||||
- php artisan testing-setup --username="root"
|
||||
|
||||
# Commands you want to run that will verify your build.
|
||||
script: phpunit
|
||||
|
Reference in New Issue
Block a user