Skip to content

Commit

Permalink
add travis-ci
Browse files Browse the repository at this point in the history
  • Loading branch information
pengwei committed Nov 8, 2018
1 parent f5cb700 commit ba44877
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ env:
- GO111MODULE=on

before_install:
- go get github.com/mattn/goveralls
- go get -v -t ./...

script:
- go test -v ./...
- go test -v ./... -coverprofile=coverage.out && go tool cover -func=coverage.out
- goveralls -coverprofile=coverage.out -service=travis-ci

0 comments on commit ba44877

Please sign in to comment.