2014-06-26 17:23:54 +00:00
|
|
|
language: go
|
2015-08-08 19:38:19 +00:00
|
|
|
sudo: false
|
2014-06-26 17:23:54 +00:00
|
|
|
|
2015-11-03 12:50:29 +00:00
|
|
|
os:
|
|
|
|
- linux
|
|
|
|
- osx
|
|
|
|
|
2014-06-26 17:23:54 +00:00
|
|
|
go:
|
2014-12-12 19:27:14 +00:00
|
|
|
- 1.3.3
|
2015-08-29 17:58:48 +00:00
|
|
|
- 1.4.2
|
|
|
|
- 1.5
|
2015-11-03 12:50:29 +00:00
|
|
|
- tip
|
|
|
|
|
|
|
|
install:
|
|
|
|
- go get ./...
|
|
|
|
- go get -u github.com/golang/lint/golint
|
|
|
|
- go get -u golang.org/x/tools/cmd/goimports
|
2014-06-26 17:23:54 +00:00
|
|
|
|
|
|
|
script:
|
2015-11-03 12:50:29 +00:00
|
|
|
- go vet ./...
|
|
|
|
- diff <(goimports -d .) <(printf "")
|
|
|
|
- diff <(golint ./...) <(printf "")
|
2014-06-26 17:23:54 +00:00
|
|
|
- go test -v ./...
|
2015-09-16 10:26:28 +00:00
|
|
|
- go test -cpu=2 -race -v ./...
|