Skip to content

Commit 281af01

Browse files
committed
Configure Goreleaser
1 parent 8c43253 commit 281af01

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

.goreleaser.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
dockers:
2+
- image: dunglas/stack2slack
3+
latest: true

.travis.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,17 @@ language: go
22
go:
33
- '1.9'
44

5+
services:
6+
- docker
7+
8+
install:
9+
- go get
10+
511
script:
612
- go vet
713
- gofmt -e -d *.go
814
- go build
15+
16+
after_success:
17+
- if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD"; fi
18+
- test -n "$TRAVIS_TAG" && curl -sL https://git.io/goreleaser | bash

0 commit comments

Comments
 (0)