Skip to content

Commit

Permalink
Add setup for database using unzip command in Travis
Browse files Browse the repository at this point in the history
  • Loading branch information
jgrossi committed Oct 6, 2016
1 parent e51b419 commit 3f8b6a8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .gitignore
@@ -1,2 +1,3 @@
.idea
vendor
vendor
.DS_Store
2 changes: 2 additions & 0 deletions .travis.yml
Expand Up @@ -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:
Expand Down

0 comments on commit 3f8b6a8

Please sign in to comment.