Skip to content
This repository has been archived by the owner on Dec 17, 2024. It is now read-only.

Commit

Permalink
Merge pull request #57 from aerokube/autoupl
Browse files Browse the repository at this point in the history
autoupload to gh releases
  • Loading branch information
vania-pooh authored May 5, 2017
2 parents c70822d + 9d65ace commit a4a9848
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,24 @@ services:

script:
- go test -race -coverprofile=coverage.txt -covermode=atomic -coverpkg .
- GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build
- GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build
- gox -os "linux darwin" -arch "amd64" -output "dist/{{.Dir}}_{{.OS}}_{{.Arch}}"

before_install:
- go get -u github.com/kardianos/govendor

install:
- govendor sync
- go get -u github.com/mitchellh/gox # cross compile

deploy:
- provider: releases
api-key: $GITHUB_TOKEN
file_glob: true
file: dist/*
skip_cleanup: true
on:
tags: true
- provider: script
script: travis/docker-push.sh latest
skip_cleanup: true
Expand Down

0 comments on commit a4a9848

Please sign in to comment.