Skip to content

Commit df135b2

Browse files
committed
Merge pull request #19 from xuwei-k/travis-test
enable travis test
2 parents 234c1ea + c76dbbc commit df135b2

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.travis.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,13 @@ scala:
44
- 2.10.4
55
- 2.11.2
66

7-
script:
8-
- sbt "test:compile"
7+
addons:
8+
postgresql: "9.3"
9+
10+
before_script:
11+
- psql -c "CREATE ROLE sa WITH SUPERUSER LOGIN PASSWORD 'sa';" -U postgres
12+
- psql -c "CREATE DATABASE scalikejdbc;" -U postgres
13+
- psql -c "CREATE DATABASE scalikejdbc2;" -U postgres
14+
- mysql -e 'GRANT ALL ON *.* TO sa@"localhost"IDENTIFIED BY "sa";FLUSH PRIVILEGES;' -uroot
15+
- mysql -e "CREATE DATABASE scalikejdbc;" -usa -psa
16+

0 commit comments

Comments
 (0)