grace/.travis.yml

24 lines
446 B
YAML
Raw Normal View History

language: go
2014-07-11 14:02:29 +08:00
go:
2014-07-11 14:02:29 +08:00
- 1.3
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 .
- go test -cpu=2 -race -v ./...
- go test -cpu=2 -covermode=atomic ./...