mirror of
https://github.com/Luzifer/nginx-sso.git
synced 2024-12-30 09:41:19 +00:00
14 lines
426 B
YAML
14 lines
426 B
YAML
|
language: go
|
||
|
|
||
|
go:
|
||
|
- 1.7
|
||
|
- tip
|
||
|
install:
|
||
|
- go get golang.org/x/tools/cmd/cover
|
||
|
- go get github.com/mattn/goveralls
|
||
|
- go get gopkg.in/check.v1
|
||
|
- go get github.com/juju/errors
|
||
|
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'
|