Skip to content

Commit 4ac0822

Browse files
setup travis config to install a mysql db
1 parent 408042c commit 4ac0822

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.travis.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
language: node_js
2+
node_js:
3+
- "6"
4+
- "5"
5+
- "4"
6+
sudo: false
7+
services:
8+
- mysql
9+
env:
10+
- DB_USER=mp DB_PASS='mp'
11+
before_script:
12+
- mysql -e 'create database mppg;' -U root
13+
- mysql -e "create user 'mp'@'localhost' with identified with 'mp';"
14+
- mysql -e "grant all privileges on * . * to 'mp'@'localhost';"
15+
- mysql -e "flush privileges;"

0 commit comments

Comments
 (0)