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
|
|
|
|
|
|
|
matrix:
|
|
|
|
fast_finish: true
|
|
|
|
|
|
|
|
before_install:
|
|
|
|
- go get -v code.google.com/p/go.tools/cmd/vet
|
|
|
|
- go get -v github.com/golang/lint/golint
|
|
|
|
- go get -v code.google.com/p/go.tools/cmd/cover
|
|
|
|
|
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 ./...
|