fix travis.yml

This commit is contained in:
liuchun 2016-03-07 14:53:36 +08:00
parent 0caadb9b66
commit e29f4b57a3
1 changed files with 1 additions and 0 deletions

View File

@ -29,6 +29,7 @@ install:
- go get golang.org/x/tools/cmd/vet
- go get github.com/golang/lint/golint
- go get github.com/ssdb/gossdb/ssdb
- go get github.com/astaxie/beego/cache
before_script:
- sh -c "if [ '$ORM_DRIVER' = 'postgres' ]; then psql -c 'create database orm_test;' -U postgres; fi"
- sh -c "if [ '$ORM_DRIVER' = 'mysql' ]; then mysql -u root -e 'create database orm_test;'; fi"