travis: add matrix for postgres
This commit is contained in:
parent
026f64aa82
commit
4fab327397
35
.travis.yml
35
.travis.yml
@ -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)
|
||||
|
||||
dist: trusty
|
||||
|
||||
services:
|
||||
- postgresql
|
||||
|
||||
addons:
|
||||
apt:
|
||||
packages:
|
||||
- rpm
|
||||
postgresql: "9.4"
|
||||
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user