Add goveralls to travis builds

This commit is contained in:
Taylor Gerring 2014-11-16 08:34:28 -06:00
parent ddca18638f
commit f82fb889b7

View File

@ -10,6 +10,7 @@ install:
- go get github.com/golang/lint/golint - go get github.com/golang/lint/golint
- go get code.google.com/p/go.tools/cmd/vet - go get code.google.com/p/go.tools/cmd/vet
- go get code.google.com/p/go.tools/cmd/cover - go get code.google.com/p/go.tools/cmd/cover
- go get github.com/mattn/goveralls
- ./install_deps.sh - ./install_deps.sh
before_script: before_script:
- gofmt -l -w . - gofmt -l -w .
@ -19,3 +20,8 @@ before_script:
# - go test -race ./... # - go test -race ./...
script: script:
- ./gocoverage.sh - ./gocoverage.sh
after_script:
- goveralls -coverprofile=profile.cov -service=travis-ci -repotoken $COVERALLS_TOKEN
env:
- secure: "U2U1AmkU4NJBgKR/uUAebQY87cNL0+1JHjnLOmmXwxYYyj5ralWb1aSuSH3qSXiT93qLBmtaUkuv9fberHVqrbAeVlztVdUsKAq7JMQH+M99iFkC9UiRMqHmtjWJ0ok4COD1sRYixxi21wb/JrMe3M1iL4QJVS61iltjHhVdM64="