diff --git a/.travis.yml b/.travis.yml index 35c01aff1..0d5271f73 100644 --- a/.travis.yml +++ b/.travis.yml @@ -63,6 +63,8 @@ install: - sudo service docker restart - go get github.com/dghubble/sling - go get github.com/stretchr/testify + - go get golang.org/x/tools/cmd/cover + - go get github.com/mattn/goveralls before_script: # create tables and load data @@ -72,6 +74,7 @@ script: - go list ./... | grep -v -E 'vendor|tests' | xargs -L1 fgt golint - go list ./... | grep -v -E 'vendor|tests' | xargs -L1 go vet - ./Deploy/coverage4gotest.sh + - goveralls -coverprofile=profile.cov -service=travis-ci - docker-compose -f Deploy/docker-compose.yml up -d