1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-01-24 04:16:27 +02:00
goreleaser/.travis.yml

31 lines
786 B
YAML
Raw Normal View History

dist: bionic
2016-12-28 23:30:14 -02:00
language: go
go: '1.14.x'
2017-09-12 20:58:14 -03:00
services:
- docker
addons:
apt:
packages:
- snapcraft
2017-04-15 15:41:41 -03:00
install:
- make setup
2017-01-02 14:19:03 -02:00
script:
2017-09-26 18:49:53 -03:00
- make ci
- ./goreleaser check
- test -n "$TRAVIS_TAG" || ./goreleaser --snapshot --parallelism 2
2017-01-21 19:21:42 -02:00
after_success:
2017-04-21 21:22:11 -03:00
- bash <(curl -s https://codecov.io/bash)
- make static
- test -z "$(git status --porcelain)"
- test -n "$TRAVIS_TAG" && docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD"
- test -n "$TRAVIS_TAG" && openssl aes-256-cbc -K $encrypted_ee3523ecee9b_key -iv $encrypted_ee3523ecee9b_iv -in snap.login.enc -out snap.login -d
2018-10-20 16:36:35 -03:00
- test -n "$TRAVIS_TAG" && snapcraft login --with snap.login
deploy:
2018-02-18 16:40:41 -03:00
- provider: script
skip_cleanup: true
2019-03-03 14:24:03 -03:00
script: ./goreleaser
2018-02-18 16:40:41 -03:00
on:
tags: true
2016-12-28 23:30:14 -02:00
notifications:
2017-01-02 10:45:05 -02:00
email: false