1language: go 2 3os: 4 - linux 5 - osx 6 7go: 8 - "1.9" 9 - "1.10" 10 - "1.11" 11 - master 12 13install: 14 - go get -u github.com/golang/dep/... 15 - dep ensure 16 - go get github.com/axw/gocov/gocov 17 - go get github.com/mattn/goveralls 18 - if ! go get github.com/golang/tools/cmd/cover; then go get golang.org/x/tools/cmd/cover; fi 19 20script: 21 - go test -v -covermode=count -coverprofile=coverage.out 22 - $HOME/gopath/bin/goveralls -coverprofile=coverage.out -service=travis-ci 23 24after_success: 25 - bash <(curl -s https://codecov.io/bash) 26