1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-01-04 03:11:55 +02:00
goreleaser/.travis.yml
2017-07-27 03:24:19 +00:00

20 lines
472 B
YAML

dist: trusty
sudo: required
language: go
go: 1.8.3
install:
- make setup
- gem install fpm
- sudo apt-get update
- sudo apt-get install --yes snapd
- export PATH=/snap/bin:$PATH
- sudo snap install snapcraft --candidate --classic
script:
- make test
- test -n "$TRAVIS_TAG" || go run main.go --skip-validate --skip-publish
after_success:
- bash <(curl -s https://codecov.io/bash)
- test -n "$TRAVIS_TAG" && go run main.go
notifications:
email: false