Merge pull request #19 from appleboy/testing

fix testing script.
This commit is contained in:
Bo-Yi Wu 2016-04-01 10:16:25 +08:00
commit 41be570e4e
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View File

@ -30,3 +30,4 @@ bin/*
.DS_Store
*.cert
*.key
coverage.out

View File

@ -19,6 +19,6 @@ install:
- go get github.com/mattn/goveralls
script:
- go test -v -covermode=count -coverprofile=coverage.out
- cd gopush && go test -v -covermode=count -coverprofile=coverage.out
- $(go env GOPATH | awk 'BEGIN{FS=":"} {print $1}')/bin/goveralls -coverprofile=coverage.out
-service=travis-ci -repotoken=$COVERALLS_TOKEN