Merge pull request #277 from jzelinskie/travispg
travis: add matrix for postgres
This commit is contained in:
commit
18e0018f80
37
.travis.yml
37
.travis.yml
@ -1,29 +1,34 @@
|
|||||||
language: go
|
language: go
|
||||||
|
sudo: required
|
||||||
go:
|
|
||||||
- 1.7
|
|
||||||
- tip
|
|
||||||
|
|
||||||
sudo: false
|
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- mkdir $GOPATH/bin && curl https://glide.sh/get | sh
|
- curl https://glide.sh/get | sh
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- go test $(glide novendor | grep -v contrib)
|
- go test $(glide novendor | grep -v contrib)
|
||||||
|
|
||||||
services:
|
dist: trusty
|
||||||
- postgresql
|
|
||||||
|
|
||||||
addons:
|
services:
|
||||||
apt:
|
- postgresql
|
||||||
packages:
|
|
||||||
- rpm
|
|
||||||
postgresql: "9.4"
|
|
||||||
|
|
||||||
notifications:
|
notifications:
|
||||||
email: false
|
email: false
|
||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
allow_failures:
|
include:
|
||||||
- go: tip
|
- addons:
|
||||||
|
apt:
|
||||||
|
packages:
|
||||||
|
- rpm
|
||||||
|
postgresql: 9.4
|
||||||
|
- addons:
|
||||||
|
apt:
|
||||||
|
packages:
|
||||||
|
- rpm
|
||||||
|
postgresql: 9.5
|
||||||
|
- addons:
|
||||||
|
apt:
|
||||||
|
packages:
|
||||||
|
- rpm
|
||||||
|
postgresql: 9.6
|
||||||
|
Loading…
Reference in New Issue
Block a user