summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
author=Corey Hulen <corey@hulen.com>2015-09-18 09:25:47 -0700
committer=Corey Hulen <corey@hulen.com>2015-09-18 09:25:47 -0700
commitcdf813f07b207c14bb9fa03f38d734b45e40823e (patch)
tree109c6cefb3580b9ed9b314ce40bd130728d587ff /.travis.yml
parent1aa4913c44ba9a342d240e5e1ca9d5e89929e499 (diff)
parent5a436fd447753124b3f7705ecb123ecf5762bc24 (diff)
downloadchat-cdf813f07b207c14bb9fa03f38d734b45e40823e.tar.gz
chat-cdf813f07b207c14bb9fa03f38d734b45e40823e.tar.bz2
chat-cdf813f07b207c14bb9fa03f38d734b45e40823e.zip
merging
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml11
1 files changed, 11 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index 877977dd4..02e1234d3 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,6 +1,10 @@
language: go
go:
- 1.4.2
+- 1.5.1
+env:
+- TRAVIS_DB=mysql
+- TRAVIS_DB=postgres
before_install:
- gem install compass
- sudo apt-get update -qq
@@ -24,6 +28,9 @@ before_script:
- mysql -e "CREATE DATABASE IF NOT EXISTS mattermost_test ;" -uroot
- mysql -e "CREATE USER 'mmuser'@'%' IDENTIFIED BY 'mostest' ;" -uroot
- mysql -e "GRANT ALL ON mattermost_test.* TO 'mmuser'@'%' ;" -uroot
+- psql -c "create database mattermost_test ;" -U postgres
+- psql -c "create user mmuser with password 'mostest' ;" -U postgres
+- psql -c 'grant all privileges on database "mattermost_test" to mmuser ;' -U postgres
services:
- redis-server
addons:
@@ -38,6 +45,8 @@ deploy:
on:
repo: mattermost/platform
tags: true
+ go: 1.4.2
+ condition: $TRAVIS_DB = mysql
- provider: s3
access_key_id: AKIAJCO3KJYEGWJIKDIQ
@@ -52,3 +61,5 @@ deploy:
on:
repo: mattermost/platform
branch: master
+ go: 1.4.2
+ condition: $TRAVIS_DB = mysql