-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Guilherme Thomazi Bonicontro
committed
Jul 24, 2018
1 parent
dbb3d47
commit 8741cdf
Showing
2 changed files
with
51 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# This is an example goreleaser.yaml file with some sane defaults. | ||
# Make sure to check the documentation at http://goreleaser.com | ||
builds: | ||
- env: | ||
- CGO_ENABLED=0 | ||
main: ./cmd/n26 | ||
binary: n26 | ||
goos: | ||
- linux | ||
- darwin | ||
- windows | ||
- freebsd | ||
goarch: | ||
- amd64 | ||
archive: | ||
name_template: "{{ .ProjectName }}-cli-{{ .Version }}-{{ .Os }}-{{ .Arch }}" | ||
format: zip | ||
files: | ||
- none* | ||
checksum: | ||
name_template: "checksums.txt" | ||
release: | ||
github: | ||
owner: guitmz | ||
name: n26 | ||
name_template: "{{.Version}}" | ||
changelog: | ||
sort: asc | ||
filters: | ||
exclude: | ||
- "typo" | ||
- "^docs:" | ||
- "^test:" | ||
brew: | ||
github: | ||
owner: guitmz | ||
name: homebrew-tools | ||
|
||
homepage: "https://github.com/guitmz/n26" | ||
description: "CLI tool for N26 Bank" | ||
test: | | ||
system "#{bin}/n26", "--version" | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,8 @@ | ||
sudo: required | ||
|
||
services: | ||
- docker | ||
|
||
before_script: | ||
- docker build -t guitmz/n26 . | ||
|
||
script: | ||
- docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD" | ||
- docker push guitmz/n26 | ||
language: go | ||
deploy: | ||
- provider: script | ||
skip_cleanup: true | ||
script: curl -sL https://git.io/goreleaser | bash | ||
on: | ||
tags: true | ||
condition: $TRAVIS_OS_NAME = linux |