github.com/be-b10g/golangci-lint@v1.17.2/.travis.yml (about) 1 sudo: false 2 language: go 3 go: 4 - 1.11.x 5 - 1.12.x 6 7 before_script: 8 - go get github.com/valyala/quicktemplate 9 10 script: make check_generated test 11 12 after_success: 13 - test -n "$TRAVIS_TAG" && docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD" 14 - echo "travis go version='$TRAVIS_GO_VERSION'" 15 16 # needed for the docker pipe 17 services: 18 - docker 19 20 deploy: 21 - provider: script 22 skip_cleanup: true 23 script: curl -sL https://git.io/goreleaser | bash 24 on: 25 tags: true 26 # it's important to build on the newest version of go: 27 condition: $TRAVIS_GO_VERSION =~ ^1\.12