mirror of
https://github.com/Luzifer/cloudkeys-go.git
synced 2024-11-08 22:20:05 +00:00
13 lines
392 B
YAML
13 lines
392 B
YAML
|
language: go
|
||
|
|
||
|
go:
|
||
|
- 1.4
|
||
|
- tip
|
||
|
install:
|
||
|
- go get golang.org/x/tools/cmd/cover
|
||
|
- go get github.com/mattn/goveralls
|
||
|
- go get gopkg.in/check.v1
|
||
|
script:
|
||
|
- go test -v -covermode=count -coverprofile=coverage.out -bench . -cpu 1,4
|
||
|
- '[ "${TRAVIS_PULL_REQUEST}" = "false" ] && $HOME/gopath/bin/goveralls -coverprofile=coverage.out -service=travis-ci -repotoken $COVERALLS_TOKEN || true'
|