mirror of
https://github.com/Luzifer/repo-template.git
synced 2024-11-14 10:22:44 +00:00
13 lines
400 B
YAML
13 lines
400 B
YAML
|
language: go
|
||
|
|
||
|
go:
|
||
|
- 1.3
|
||
|
- tip
|
||
|
install:
|
||
|
- go get code.google.com/p/go.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'
|