From d5bb6ae26cf401376ceae6cf64e32f97dbeab412 Mon Sep 17 00:00:00 2001 From: Aaron Lindsay Date: Thu, 16 Nov 2017 21:30:15 -0500 Subject: [PATCH] .travis.yml: Enable postgres --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 85bc80d..39468c2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,7 +14,7 @@ services: env: - MONEYGO_TEST_DB=sqlite - 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: - sh -c "if [ $MONEYGO_TEST_DB = 'postgres' ]; then psql -c 'DROP DATABASE IF EXISTS moneygo_test;' -U postgres; fi"