summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorChristopher Speller <crspeller@gmail.com>2015-09-17 16:27:25 -0400
committerChristopher Speller <crspeller@gmail.com>2015-09-18 09:31:16 -0400
commitab771c8f754954ad94a1bc24d2e9819fd285c0da (patch)
treec69fbf2cfcd0102cd81046838f74c1aac32f7a68 /Makefile
parent151849d536a479b9952ee96fa3dccbac6a0711e7 (diff)
downloadchat-ab771c8f754954ad94a1bc24d2e9819fd285c0da.tar.gz
chat-ab771c8f754954ad94a1bc24d2e9819fd285c0da.tar.bz2
chat-ab771c8f754954ad94a1bc24d2e9819fd285c0da.zip
Adding go 1.5.1 and postgress to travis build
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 972ebe960..a0c878e1d 100644
--- a/Makefile
+++ b/Makefile
@@ -32,6 +32,11 @@ all: travis
travis:
@echo building for travis
+ if [ "$(TRAVIS_DB)" = "postgres" ]; then \
+ sed -i'.bak' 's|mysql|postgres|g' config/config.json; \
+ sed -i'.bak' 's|mmuser:mostest@tcp(dockerhost:3306)/mattermost_test?charset=utf8mb4,utf8|postgres://mmuser:mostest@dockerhost:5432/mattermost_test?sslmode=disable\&connect_timeout=10|g' config/config.json; \
+ fi
+
rm -Rf $(DIST_ROOT)
@$(GO) clean $(GOFLAGS) -i ./...