language: go go: - '1.7' - '1.11' - '1.12' - '1.13' - tip script: - go test -coverprofile=coverage.txt -covermode=atomic - "if [[ $TRAVIS_GO_VERSION == 1.13 ]]; then bash <(curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh) -b $(go env GOPATH)/bin v1.20.0 && golangci-lint run; fi" after_success: - bash <(curl -s https://codecov.io/bash)