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:
|
2015-11-08 10:52:35 +00:00
|
|
|
- 1.4.2
|
2016-01-23 17:27:00 +00:00
|
|
|
- 1.5.3
|
2015-11-11 18:18:04 +00:00
|
|
|
|
|
|
|
# - tip
|
2015-11-03 12:50:29 +00:00
|
|
|
|
|
|
|
install:
|
2016-02-15 17:31:11 +00:00
|
|
|
- go get -t ./...
|
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
|
2016-02-26 17:01:19 +00:00
|
|
|
- go test ./...
|
|
|
|
- go test -cpu=2 -race ./...
|