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:
Manish Verma
2018-09-17 12:15:29 +05:30
committed by Manish Verma
parent 6742e13d81
commit 426a285431
4 changed files with 224 additions and 0 deletions

View File

@@ -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