Skip to content

Commit

Permalink
auto release binaries with TravisCI
Browse files Browse the repository at this point in the history
  • Loading branch information
Clivern authored Jan 9, 2019
1 parent 3be2c3f commit 52dbe24
Showing 1 changed file with 23 additions and 2 deletions.
25 changes: 23 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
language: go

# needed for the nfpm pipe
addons:
apt:
packages:
- rpm

services:
- redis-server

Expand Down Expand Up @@ -29,10 +35,25 @@ script:
- make install_revive
- cp config.yml config.dist.yml
- make ci

# Workaround to clear any package used for testing only
- git status
- git diff > diff.log
- cat diff.log
- git clean -fd
- git reset --hard

matrix:
include:
allow_failures:
- go: 1.9.x
- go: 1.10.x


deploy:
- provider: script
skip_cleanup: true
script: curl -sL http://git.io/goreleaser | bash
on:
tags: true
go: 1.11.x
condition: $TRAVIS_OS_NAME = linux

0 comments on commit 52dbe24

Please sign in to comment.