github.com/trigonella/golangci-lint@v1.10.1/.travis.yml (about)

     1  sudo: false
     2  language: go
     3  go:
     4    - 1.9.x
     5    - 1.10.x
     6    - 1.11.x
     7  script: make check_generated test
     8  
     9  after_success:
    10    - test -n "$TRAVIS_TAG" && docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD"
    11    - echo "travis go version='$TRAVIS_GO_VERSION'"
    12  
    13  # needed for the docker pipe
    14  services:
    15  - docker
    16  
    17  deploy:
    18  - provider: script
    19    skip_cleanup: true
    20    script: curl -sL https://git.io/goreleaser | bash
    21    on:
    22      tags: true
    23      # it's important to build on the newest version of go:
    24      condition: $TRAVIS_GO_VERSION =~ ^1\.11