Use Go modules on Travis CI

pull/483/head
Jack Christensen 2019-04-13 15:33:33 -05:00
parent dac6bfdc61
commit 95058dc476
2 changed files with 1 additions and 17 deletions

View File

@ -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

View File

@ -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