From 0a3842777d62188a28eaa4b6122e12c2e47f55ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Se=C3=A1n=20C=2E=20McCord?= Date: Mon, 25 Feb 2019 09:33:37 -0600 Subject: [PATCH] travis fixes (#5) * travis fixes * update golangci-lint version --- .travis.yml | 8 +++++--- check.sh | 1 - 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 1a346e8..9158a62 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,10 +1,12 @@ language: go +env: + - GO111MODULE=on go: - "1.11" install: - - env GO111MODULE=on go mod tidy - - curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | bash -s -- -b $GOPATH/bin v1.10.2 - - go get -u github.com/goreleaser/goreleaser + - go mod tidy + - curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | bash -s -- -b $GOPATH/bin v1.15.0 + - curl -sfL https://github.com/goreleaser/goreleaser/releases/download/v0.101.0/goreleaser_Linux_x86_64.tar.gz | tar xfz - -C $GOPATH/bin goreleaser script: bash check.sh services: - docker diff --git a/check.sh b/check.sh index b4a7303..111b3fb 100755 --- a/check.sh +++ b/check.sh @@ -1,7 +1,6 @@ #!/bin/bash -e #dep ensure #gometalinter --skip test --skip defaults --cyclo-over=15 --deadline=90s --vendor ./... -go mod tidy golangci-lint run go test ./... go build ./...