diff --git a/.travis.yml b/.travis.yml index ae71c02f..c16e2644 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,3 +1,11 @@ language: go go: release -install: go get -d -t -v ./... +install: + - go get -d -t -v ./... + - go get -v code.google.com/p/go.tools/cmd/cover +script: + - go test -v -covermode=count -coverprofile=profile.cov +after_success: + - go get -v github.com/mattn/goveralls + - export PATH=$PATH:$HOME/gopath/bin + - goveralls -coverprofile=profile.cov -service=travis-ci