Add a Travis configuration for running tests.

This commit is contained in:
David Anderson 2016-03-24 12:15:37 -07:00
parent 60581f4259
commit b7ae49bdb6

16
.travis.yml Normal file
View File

@ -0,0 +1,16 @@
language: go
go:
- 1.5
- 1.6
- tip
os:
- linux
- osx
install:
- go get github.com/golang/lint/golint
before_script:
script:
- GO15VENDOREXPERIMENT=1 go build ...
- GO15VENDOREXPERIMENT=1 go test ...
- go vet ...
- golint ...