1
0
mirror of https://github.com/astaxie/beego.git synced 2024-12-23 06:20:50 +00:00

show postgres versionn

This commit is contained in:
astaxie 2016-04-11 21:19:10 +08:00
parent ba3a1f8457
commit 1cac38b664

View File

@ -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"