Create .travis.yml

This commit is contained in:
Paul Meyer
2015-10-16 21:46:55 -07:00
parent 154e18f0b4
commit 8879b4c6f2

15
.travis.yml Normal file
View File

@@ -0,0 +1,15 @@
sudo: false
language: go
before_script:
- go get -u golang.org/x/tools/cmd/vet
- go get -u github.com/golang/lint/golint
go: tip
script:
- test -z "$(gofmt -s -l . | tee /dev/stderr)"
- go build -v ./...
- test -z "$(go vet | tee /dev/stderr)"
- test -z "$(golint | tee /dev/stderr)"
- go test -v