Last active
August 29, 2016 16:42
-
-
Save kintoandar/b4f1b55dee0d8880c697157b860af977 to your computer and use it in GitHub Desktop.
fwd - The little forwarder that could
This file contains hidden or 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
| [bumpversion] | |
| current_version = 0.1.1 | |
| commit = True | |
| tag = True | |
| [bumpversion:file:.bintray.json] | |
| search = {current_version} | |
| replace = {new_version} | |
| [bumpversion:file:fwd.go] | |
| search = app.Version = "{current_version}" | |
| replace = app.Version = "{new_version}" |
This file contains hidden or 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
| language: go | |
| go: | |
| - tip | |
| env: | |
| - PATH=/home/travis/gopath/bin:$PATH | |
| before_install: | |
| - go get github.com/mitchellh/gox | |
| - go get github.com/golang/lint/golint | |
| install: | |
| - go get -t | |
| - go build | |
| script: | |
| - go vet ./... | |
| - golint ./... | |
| after_success: | |
| - gox -output "dist/{{.Dir}}_{{.OS}}_{{.Arch}}" | |
| - cd dist ; for I in $(ls *) ; do md5sum $I > $I.md5 ; done ; cd - | |
| deploy: | |
| skip_cleanup: true | |
| file: .bintray.json | |
| provider: bintray | |
| user: kintoandar | |
| key: | |
| secure: $KEY | |
| on: | |
| tags: true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment