mirror of
https://github.com/aclindsa/moneygo.git
synced 2025-01-31 01:48:55 -05:00
.travis.yml: Enable postgres
This commit is contained in:
parent
50dd7b1d26
commit
d5bb6ae26c
@ -14,7 +14,7 @@ services:
|
|||||||
env:
|
env:
|
||||||
- MONEYGO_TEST_DB=sqlite
|
- MONEYGO_TEST_DB=sqlite
|
||||||
- MONEYGO_TEST_DB=mysql MONEYGO_TEST_DSN="root@tcp(127.0.0.1)/moneygo_test?parseTime=true"
|
- MONEYGO_TEST_DB=mysql MONEYGO_TEST_DSN="root@tcp(127.0.0.1)/moneygo_test?parseTime=true"
|
||||||
# - MONEYGO_TEST_DB=postgres MONEYGO_TEST_DSN="postgres://postgres@localhost/moneygo_test"
|
- MONEYGO_TEST_DB=postgres MONEYGO_TEST_DSN="postgres://postgres@localhost/moneygo_test"
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- sh -c "if [ $MONEYGO_TEST_DB = 'postgres' ]; then psql -c 'DROP DATABASE IF EXISTS moneygo_test;' -U postgres; fi"
|
- sh -c "if [ $MONEYGO_TEST_DB = 'postgres' ]; then psql -c 'DROP DATABASE IF EXISTS moneygo_test;' -U postgres; fi"
|
||||||
|
Loading…
Reference in New Issue
Block a user