Skip to content

Commit

Permalink
Merge pull request #6 from frapposelli/goreleaser
Browse files Browse the repository at this point in the history
Add travis and goreleaser to automate release
  • Loading branch information
anfernee authored Mar 15, 2018
2 parents e16614c + 09d0350 commit abd4e62
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/docker-machine-driver-vmware
/docker-machine-driver-vmware.exe
/out
dist/
21 changes: 21 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
builds:
-
binary: docker-machine-driver-vmware
goos:
- windows
- darwin
- linux
goarch:
- amd64
archive:
name_template: "{{ .Binary }}_{{ .Os }}_{{ .Arch }}"
format: binary
checksum:
name_template: "{{ .ProjectName }}_{{ .Version }}_checksums.txt"
release:
name_template: "{{.ProjectName}}-v{{.Version}}"
changelog:
filters:
exclude:
- '^typo'
- 'version bump'
23 changes: 23 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
language: go
os:
- linux
- osx

go:
- 1.9.x
- '1.9.4'
go_import_path: github.com/machine-drivers/docker-machine-driver-vmware

install:
- echo "Don't run anything."
script:
- make test

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

0 comments on commit abd4e62

Please sign in to comment.