update build

This commit is contained in:
davidnewhall2
2019-12-27 20:38:02 -08:00
parent 46a325c6d5
commit 0e594d8b2a
+2 -6
View File
@@ -1,15 +1,11 @@
language: go
go:
- 1.12.x
- 1.13.x
before_install:
- mkdir -p $GOPATH/bin
# Download the `dep` binary to bin folder in $GOPATH
- curl -sLo $GOPATH/bin/dep https://github.com/golang/dep/releases/download/v0.5.3/dep-linux-amd64
- chmod +x $GOPATH/bin/dep
# download super-linter: golangci-lint
- curl -sL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(go env GOPATH)/bin latest
install:
- dep ensure
- go mod vendor
script:
- golangci-lint run --enable-all -e G402 -D gochecknoglobals
- go test ./...