github.com/goenning/goreleaser@v0.36.0/.travis.yml (about)

     1  dist: trusty
     2  sudo: required
     3  language: go
     4  go: 1.9
     5  services:
     6    - docker
     7  install:
     8    - make setup
     9    - gem install fpm
    10    - sudo apt-get update
    11    - sudo apt-get install --yes snapd rpm
    12    - export PATH=/snap/bin:$PATH
    13    - sudo snap install snapcraft --candidate --classic
    14  script:
    15    - make ci
    16    - test -n "$TRAVIS_TAG" || go run main.go --skip-validate --skip-publish
    17  after_success:
    18    - bash <(curl -s https://codecov.io/bash)
    19    - test -n "$TRAVIS_TAG" && docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD"
    20    - test -n "$TRAVIS_TAG" && go run main.go
    21  notifications:
    22    email: false