diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..decf217 --- /dev/null +++ b/.travis.yml @@ -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