Try mysql for travis

This commit is contained in:
snipe 2016-04-12 23:43:53 -07:00
parent db83faeb49
commit 4def8b7349
2 changed files with 4 additions and 4 deletions

View file

@ -12,10 +12,10 @@ FILESYSTEM_DISK=local
# --------------------------------------------
# REQUIRED: DATABASE SETTINGS
# --------------------------------------------
DB_CONNECTION=sqlite_testing
DB_CONNECTION=mysql
DB_HOST=localhost
DB_DATABASE=testing.sqlite
DB_USERNAME=null
DB_DATABASE=snipeit_unit
DB_USERNAME=travis
DB_PASSWORD=null
# --------------------------------------------

View file

@ -26,7 +26,7 @@ before_script:
- phantomjs --webdriver=4444 &
- sleep 10
- touch database/testing.sqlite
- mysql -e "create database IF NOT EXISTS snipeit_unit;" -utravis
- composer self-update
- composer install -n --prefer-source
- cp .env.testing .env