From 4fab327397a1d9484809768fe357428599b510d6 Mon Sep 17 00:00:00 2001 From: Jimmy Zelinskie Date: Sat, 3 Dec 2016 20:19:29 -0500 Subject: [PATCH] travis: add matrix for postgres --- .travis.yml | 37 +++++++++++++++++++++---------------- 1 file changed, 21 insertions(+), 16 deletions(-) diff --git a/.travis.yml b/.travis.yml index f5830601..0566a4b1 100644 --- a/.travis.yml +++ b/.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) -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