From 3f8b6a854814fdae71298e6a9769259727b55b86 Mon Sep 17 00:00:00 2001 From: Junior Grossi Date: Thu, 6 Oct 2016 13:18:43 -0300 Subject: [PATCH] Add setup for database using unzip command in Travis --- .gitignore | 3 ++- .travis.yml | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 331c58f..78eb0aa 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ .idea -vendor \ No newline at end of file +vendor +.DS_Store \ No newline at end of file diff --git a/.travis.yml b/.travis.yml index 91fb557..6d35bdb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,10 +7,12 @@ sudo: required addons: apt: packages: + - unzip - mysql-server-5.6 - mysql-client-core-5.6 - mysql-client-5.6 before_install: + - unzip tests/config/database.sql.zip -d tests/config/ - mysql -u root -e "create database corcel_acf;" - mysql -u root corcel_acf < tests/config/database.sql before_script: