Skip to content

Commit

Permalink
only build with go 1.12.0
Browse files Browse the repository at this point in the history
  • Loading branch information
neolit123 committed Apr 26, 2019
1 parent addf6da commit b29343c
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
language: go
dist: xenial
go:
- 1.10.x
- 1.11.x
- 1.12.x
script:
- diff -u <(echo -n) <(gofmt -d *.go)
- diff -u <(echo -n) <(golint $(go list -e ./...) | grep -v YAMLToJSON)
- go vet .
- go test -v -race ./...
- GO111MODULE=on go vet .
- GO111MODULE=on go test -v -race ./...
install:
- go get golang.org/x/lint/golint

0 comments on commit b29343c

Please sign in to comment.