From 95058dc476c4d2c3264a210ae92af5033b1e14c5 Mon Sep 17 00:00:00 2001 From: Jack Christensen Date: Sat, 13 Apr 2019 15:33:33 -0500 Subject: [PATCH] Use Go modules on Travis CI --- .travis.yml | 4 +--- travis/install.bash | 14 -------------- 2 files changed, 1 insertion(+), 17 deletions(-) delete mode 100755 travis/install.bash diff --git a/.travis.yml b/.travis.yml index 950792d1..3116b19e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,6 +10,7 @@ before_install: env: global: + - GO111MODULE=on - PGX_TEST_DATABASE=postgres://pgx_md5:secret@127.0.0.1/pgx_test - PGX_TEST_UNIX_SOCKET_CONN_STRING="host=/var/run/postgresql database=pgx_test" - PGX_TEST_TCP_CONN_STRING=postgres://pgx_md5:secret@127.0.0.1/pgx_test @@ -27,9 +28,6 @@ env: before_script: - ./travis/before_script.bash -install: - - ./travis/install.bash - script: - ./travis/script.bash diff --git a/travis/install.bash b/travis/install.bash deleted file mode 100755 index 63ba875d..00000000 --- a/travis/install.bash +++ /dev/null @@ -1,14 +0,0 @@ -#!/usr/bin/env bash -set -eux - -go get -u github.com/cockroachdb/apd -go get -u github.com/shopspring/decimal -go get -u gopkg.in/inconshreveable/log15.v2 -go get -u github.com/jackc/fake -go get -u github.com/lib/pq -go get -u github.com/hashicorp/go-version -go get -u github.com/satori/go.uuid -go get -u github.com/sirupsen/logrus -go get -u github.com/pkg/errors -go get -u go.uber.org/zap -go get -u github.com/rs/zerolog