mirror of
https://github.com/goreleaser/nfpm
synced 2024-11-18 19:04:07 +01:00
28 lines
497 B
YAML
28 lines
497 B
YAML
addons:
|
|
apt:
|
|
packages:
|
|
- rpm
|
|
language: go
|
|
env:
|
|
- GO111MODULE=on
|
|
go: '1.11.x'
|
|
services:
|
|
- docker
|
|
install:
|
|
- make setup
|
|
before_script:
|
|
- rpmbuild --version
|
|
script:
|
|
- make ci
|
|
after_success:
|
|
- bash <(curl -s https://codecov.io/bash)
|
|
- test -n "$TRAVIS_TAG" && docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD"
|
|
notifications:
|
|
email: false
|
|
deploy:
|
|
- provider: script
|
|
skip_cleanup: true
|
|
script: curl -sL http://git.io/goreleaser | bash
|
|
on:
|
|
tags: true
|