Skip to content

Commit

Permalink
add travis integration.
Browse files Browse the repository at this point in the history
  • Loading branch information
jonhadfield committed Feb 4, 2019
1 parent afe46a6 commit f845920
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
language: go

go:
- 1.11.x

os:
- linux
- osx

env:
- GO111MODULE=on

before_install:
- go get github.com/axw/gocov/gocov
- go get github.com/mattn/goveralls
- if ! go get github.com/golang/tools/cmd/cover; then go get golang.org/x/tools/cmd/cover; fi

install:
- go get golang.org/x/text/encoding
- go get golang.org/x/net/context
- go get github.com/stretchr/testify/assert

script:
- go test -v -failfast ./...
- $GOPATH/bin/goveralls -service=travis-ci

0 comments on commit f845920

Please sign in to comment.