--- language: go sudo: required notifications: email: false before_install: - sudo apt-get -qq update - sudo apt-get install -y rpm script: - GO111MODULE=on go test ./... - go test -race -coverprofile=coverage.txt -covermode=atomic ./... after_success: - bash <(curl -s https://codecov.io/bash) deploy: - provider: script skip_cleanup: true script: curl -sL https://git.io/goreleaser | bash on: tags: true condition: "$TRAVIS_OS_NAME = linux" env: matrix: - GO111MODULE=on