mirror of
https://github.com/zellyn/diskii.git
synced 2024-11-21 23:31:47 +00:00
Attempt to fix conditional build in travis.yml
This commit is contained in:
parent
4ff0871810
commit
58a2726f1c
10
.travis.yml
10
.travis.yml
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user