Skip to content

Commit

Permalink
add travis config
Browse files Browse the repository at this point in the history
  • Loading branch information
Perlmint committed Jul 22, 2018
1 parent d1418b8 commit 1aacfd8
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
language: go

go:
- "1.8"
- "1.9"
- "1.10"

install:
- go get -t ./...
- go get golang.org/x/tools/cover
- go get github.com/mattn/goveralls

script:
- go test -v -cover -tags test -covermode=count -coverprofile=coverage.out
- $(go env GOPATH | awk 'BEGIN{FS=":"} {print $1}')/bin/goveralls -coverprofile=coverage.out -service=travis-ci -repotoken $COVERALLS_TOKEN

0 comments on commit 1aacfd8

Please sign in to comment.