Skip to content

Commit

Permalink
travis: add matrix for postgres
Browse files Browse the repository at this point in the history
  • Loading branch information
jzelinskie committed Dec 4, 2016
1 parent 026f64a commit 4fab327
Showing 1 changed file with 21 additions and 16 deletions.
37 changes: 21 additions & 16 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,29 +1,34 @@
language: go

go:
- 1.7
- tip

sudo: false
sudo: required

install:
- mkdir $GOPATH/bin && curl https://glide.sh/get | sh
- curl https://glide.sh/get | sh

script:
- go test $(glide novendor | grep -v contrib)

services:
- postgresql
dist: trusty

addons:
apt:
packages:
- rpm
postgresql: "9.4"
services:
- postgresql

notifications:
email: false

matrix:
allow_failures:
- go: tip
include:
- addons:
apt:
packages:
- rpm
postgresql: 9.4
- addons:
apt:
packages:
- rpm
postgresql: 9.5
- addons:
apt:
packages:
- rpm
postgresql: 9.6

0 comments on commit 4fab327

Please sign in to comment.