Debian Codegraph @

.travis.yml

raw
1 language: go
2 go:
3 - 1.3
4 - 1.4
5 - tip
6
7 services:
8 - mysql
9 - postgres
10 - sqlite3
11
12 before_script:
13 - mysql -e "CREATE DATABASE gorptest;"
14 - mysql -u root -e "GRANT ALL ON gorptest.* TO gorptest@localhost IDENTIFIED BY 'gorptest'"
15 - psql -c "CREATE DATABASE gorptest;" -U postgres
16 - psql -c "CREATE USER "gorptest" WITH SUPERUSER PASSWORD 'gorptest';" -U postgres
17 - go get github.com/lib/pq
18 - go get github.com/mattn/go-sqlite3
19 - go get github.com/ziutek/mymysql/godrv
20 - go get github.com/go-sql-driver/mysql
21
22 script: ./test_all.sh