From 4def8b7349b4d48c74069e5b0a5422e08c6a4ee5 Mon Sep 17 00:00:00 2001 From: snipe Date: Tue, 12 Apr 2016 23:43:53 -0700 Subject: [PATCH] Try mysql for travis --- .env.testing | 6 +++--- .travis.yml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.env.testing b/.env.testing index f38ea7f626..2d7946b2e9 100644 --- a/.env.testing +++ b/.env.testing @@ -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 # -------------------------------------------- diff --git a/.travis.yml b/.travis.yml index 4511d29fd8..0b9cf4db07 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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