Skip to content

Commit

Permalink
travis fixes (#5)
Browse files Browse the repository at this point in the history
* travis fixes

* update golangci-lint version
  • Loading branch information
Ulexus authored Feb 25, 2019
1 parent 85b5827 commit 0a38427
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
8 changes: 5 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
1 change: 0 additions & 1 deletion check.sh
Original file line number Diff line number Diff line change
@@ -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 ./...
Expand Down

0 comments on commit 0a38427

Please sign in to comment.