Skip to content

Commit

Permalink
modified .travis.yml - trying to fix build release
Browse files Browse the repository at this point in the history
  • Loading branch information
gracig committed Feb 12, 2016
1 parent b631f7c commit 8d35072
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 0 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ after_success:

before_deploy:
- make release
- ls release/*
- sudo chmod 666 -R release

deploy:
provider: releases
Expand Down
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ push:
docker push $(image)

release:
mkdir release
docker run --rm -v `pwd`:/build -e "GOOS=linux" -e "GOARCH=amd64" $(image) go build -o $(binary)-linux-amd64 $(package)
docker run --rm -v `pwd`:/build -e "GOOS=linux" -e "GOARCH=386" $(image) go build -o $(binary)-linux-386 $(package)
docker run --rm -v `pwd`:/build -e "GOOS=linux" -e "GOARCH=arm" $(image) go build -o $(binary)-linux-arm $(package)
Expand Down

0 comments on commit 8d35072

Please sign in to comment.