mirror of
https://github.com/goreleaser/goreleaser.git
synced 2024-12-27 01:33:39 +02:00
23 lines
554 B
YAML
23 lines
554 B
YAML
dist: trusty
|
|
sudo: required
|
|
language: go
|
|
go: 1.9
|
|
services:
|
|
- docker
|
|
install:
|
|
- make setup
|
|
- docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD"
|
|
- gem install fpm
|
|
- sudo apt-get update
|
|
- sudo apt-get install --yes snapd rpm
|
|
- export PATH=/snap/bin:$PATH
|
|
- sudo snap install snapcraft --candidate --classic
|
|
script:
|
|
- make ci
|
|
- 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
|