Skip to content

Commit

Permalink
Add travis-ci and coveralls
Browse files Browse the repository at this point in the history
  • Loading branch information
atcdot committed Jul 22, 2019
1 parent c321de5 commit ef8c34f
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .travis.yml
@@ -0,0 +1,12 @@
language: go
go:
- 1.11.x
- 1.12.x
env:
- GO111MODULE=on
before_install:
- go get golang.org/x/tools/cmd/cover
- go get github.com/mattn/goveralls
script:
- go test -v -covermode=count -coverprofile=coverage.out ./
- $GOPATH/bin/goveralls -service=travis-ci -coverprofile=coverage.out

0 comments on commit ef8c34f

Please sign in to comment.