Skip to content

Commit

Permalink
Update CI config
Browse files Browse the repository at this point in the history
  • Loading branch information
errordeveloper committed Apr 26, 2019
1 parent d52f528 commit ccb1197
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@ dist: xenial
go:
- 1.10.x
- 1.11.x
- 1.12.x
script:
- go get -t -v ./...
- diff -u <(echo -n) <(gofmt -d .)
- diff -u <(echo -n) <(gofmt -d *.go)
- diff -u <(echo -n) <(golint $(go list -e ./...) | grep -v YAMLToJSON)
- go tool vet .
- if echo "${TRAVIS_GO_VERSION}" | grep "1\.7" ; then go vet . ; else go tool vet . ; fi
- go vet .
- go test -v -race ./...
install:
- go get golang.org/x/lint/golint

0 comments on commit ccb1197

Please sign in to comment.