diff --git a/.travis.yml b/.travis.yml index c72bb052..88d8fd52 100644 --- a/.travis.yml +++ b/.travis.yml @@ -32,6 +32,7 @@ install: - go get github.com/siddontang/ledisdb/ledis - go get github.com/ssdb/gossdb/ssdb before_script: + - psql --version - 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" - sh -c "if [ '$ORM_DRIVER' = 'sqlite' ]; then touch $TRAVIS_BUILD_DIR/orm_test.db; fi"