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
|
2015-11-08 10:31:40 +00:00
|
|
|
|
|
|
|
# - osx
|
2015-11-03 12:50:29 +00:00
|
|
|
|
2014-06-26 17:23:54 +00:00
|
|
|
go:
|
2014-12-12 19:27:14 +00:00
|
|
|
- 1.3.3
|
2015-11-08 10:52:35 +00:00
|
|
|
- 1.4.2
|
2015-11-08 10:31:40 +00:00
|
|
|
- 1.5.1
|
2015-11-11 18:18:04 +00:00
|
|
|
|
|
|
|
# - tip
|
2015-11-03 12:50:29 +00:00
|
|
|
|
|
|
|
install:
|
|
|
|
- go get ./...
|
2016-01-07 16:34:52 +00:00
|
|
|
- '[[ `go version` =~ go1.[0-4][^0-9] ]] || go get -u github.com/kisielk/errcheck'
|
2015-11-03 12:50:29 +00:00
|
|
|
- go get -u golang.org/x/tools/cmd/goimports
|
2015-11-14 09:20:34 +00:00
|
|
|
- go get -u github.com/golang/lint/golint
|
2014-06-26 17:23:54 +00:00
|
|
|
|
|
|
|
script:
|
2015-11-14 09:20:34 +00:00
|
|
|
- make check
|
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 ./...
|