Skip to content

Commit

Permalink
Merge pull request #20 from gorilla/ci-race-detect
Browse files Browse the repository at this point in the history
[ci] Run go vet, gofmt and the race detector during tests.
  • Loading branch information
elithrar committed Nov 12, 2015
2 parents f6d7c0f + cdcc324 commit d5a1c5d
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
language: go
sudo: false

go:
- 1.4
- 1.5
- tip
install:
- go get golang.org/x/tools/cmd/vet
script:
- go get -t -v ./...
- diff -u <(echo -n) <(gofmt -d -s .)
- go tool vet .
- go test -v -race ./...

0 comments on commit d5a1c5d

Please sign in to comment.