2014-04-03 05:59:35 +08:00
|
|
|
language: go
|
2014-07-11 14:02:29 +08:00
|
|
|
|
2014-04-03 05:59:35 +08:00
|
|
|
go:
|
2015-06-16 04:28:04 +08:00
|
|
|
- 1.4
|
2014-07-11 14:02:29 +08:00
|
|
|
|
|
|
|
before_install:
|
2015-06-16 04:34:53 +08:00
|
|
|
- go get -v golang.org/x/tools/cmd/vet
|
|
|
|
- go get -v golang.org/x/tools/cmd/cover
|
2014-07-11 14:02:29 +08:00
|
|
|
- go get -v github.com/golang/lint/golint
|
|
|
|
|
2014-05-24 09:30:27 +08:00
|
|
|
install:
|
2014-07-11 14:02:29 +08:00
|
|
|
- go install -race -v std
|
|
|
|
- go get -race -t -v ./...
|
|
|
|
- go install -race -v ./...
|
|
|
|
|
|
|
|
script:
|
|
|
|
- go vet ./...
|
|
|
|
- $HOME/gopath/bin/golint .
|
2014-07-11 14:14:31 +08:00
|
|
|
- go test -cpu=2 -race -v ./...
|
|
|
|
- go test -cpu=2 -covermode=atomic ./...
|