summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorCorey Hulen <corey@hulen.com>2015-09-18 09:21:05 -0700
committerCorey Hulen <corey@hulen.com>2015-09-18 09:21:05 -0700
commitd0f97b7a5f730706337e7884a7e697d80dc0a96c (patch)
tree25ef924e10994712297eb05a5acc988d0e640635 /Makefile
parent6eb32591d978240fb77696f0b8697e81832883bb (diff)
parentab771c8f754954ad94a1bc24d2e9819fd285c0da (diff)
downloadchat-d0f97b7a5f730706337e7884a7e697d80dc0a96c.tar.gz
chat-d0f97b7a5f730706337e7884a7e697d80dc0a96c.tar.bz2
chat-d0f97b7a5f730706337e7884a7e697d80dc0a96c.zip
Merge pull request #714 from mattermost/test-matrix
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 ./...