language: go sudo: false go: - "1.11" os: - linux - osx before_install: - go version - export GO111MODULE=on - go get golang.org/x/tools/cmd/goimports install: - go build script: - ./.travis.sh - diff <(goimports -d .) <(printf "") after_success: - bash <(curl -s https://codecov.io/bash)