language: go go: - 1.11.x before_install: - go get -t -v ./... script: - go test -coverprofile=coverage.txt -covermode=atomic after_success: - if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then bash <(curl -s https://codecov.io/bash)