From 38ee83e45b4de7edf89bf9f0ef629eb4c6ad0fa8 Mon Sep 17 00:00:00 2001 From: Christopher Speller Date: Thu, 12 May 2016 23:56:07 -0400 Subject: Moving to glide --- vendor/github.com/lib/pq/.travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'vendor/github.com/lib/pq/.travis.yml') diff --git a/vendor/github.com/lib/pq/.travis.yml b/vendor/github.com/lib/pq/.travis.yml index 567c7c666..d63afcb9f 100644 --- a/vendor/github.com/lib/pq/.travis.yml +++ b/vendor/github.com/lib/pq/.travis.yml @@ -37,6 +37,7 @@ before_install: - sudo cat /etc/postgresql/$PGVERSION/main/postgresql.conf - sudo chmod 600 $PQSSLCERTTEST_PATH/postgresql.key - sudo /etc/init.d/postgresql restart + - go get golang.org/x/tools/cmd/goimports env: global: @@ -59,7 +60,7 @@ env: - PGVERSION=9.0 PQTEST_BINARY_PARAMETERS=no script: - - go test -v ./... + - result=$(goimports -d -e $(find -name \*.go)); test -z "$result" || (echo "$result" && false) && go vet ./... && go test -v ./... before_script: - psql -c 'create database pqgotest' -U postgres -- cgit v1.2.3-1-g7c22