You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
401 B
21 lines
401 B
6 years ago
|
language: go
|
||
|
|
||
|
go:
|
||
|
- 1.5
|
||
|
|
||
|
before_install:
|
||
|
- go get -v golang.org/x/tools/cmd/vet
|
||
|
- go get -v golang.org/x/tools/cmd/cover
|
||
|
- go get -v github.com/golang/lint/golint
|
||
|
|
||
|
install:
|
||
|
- 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 ./...
|