Another attempt at fixing builds

Addresses: https://github.com/golang-migrate/migrate/issues/254
This commit is contained in:
Dale Hui 2019-07-30 00:06:35 -07:00
parent b55570703d
commit e93eaeb3fe
1 changed files with 6 additions and 4 deletions

View File

@ -26,12 +26,14 @@ cache:
directories:
- $GOPATH/pkg
addons:
apt:
packages:
- docker-ce
before_install:
# Update docker to latest version: https://docs.travis-ci.com/user/docker/#installing-a-newer-docker-version
- curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
- sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
- sudo apt-get update
- sudo apt-get -y -o Dpkg::Options::="--force-confnew" install docker-ce
# Install golangci-lint
- curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(go env GOPATH)/bin v1.16.0
- echo "TRAVIS_GO_VERSION=${TRAVIS_GO_VERSION}"