mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-24 21:24:13 -08:00
Try mysql for travis
This commit is contained in:
parent
db83faeb49
commit
4def8b7349
|
@ -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
|
||||
|
||||
# --------------------------------------------
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue