Skip to content

Commit

Permalink
Attempt to fix conditional build in travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
zellyn committed Nov 14, 2016
1 parent 4ff0871 commit 58a2726
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ deploy:
after_success:
# Cross-compile tagged releases.
if ([ "$TRAVIS_BRANCH" == "master" ] || [ ! -z "$TRAVIS_TAG" ]) && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then
go get github.com/inconshreveable/mousetrap
mkdir -p release
GOOS=linux GOARCH=amd64 go build -o release/diskii-linux-amd64
GOOS=darwin GOARCH=amd64 go build -o release/diskii-macos-amd64
GOOS=windows GOARCH=amd64 go build -o release/diskii-windows-amd64.exe
go get github.com/inconshreveable/mousetrap;
mkdir -p release;
GOOS=linux GOARCH=amd64 go build -o release/diskii-linux-amd64;
GOOS=darwin GOARCH=amd64 go build -o release/diskii-macos-amd64;
GOOS=windows GOARCH=amd64 go build -o release/diskii-windows-amd64.exe;
fi

0 comments on commit 58a2726

Please sign in to comment.