mirror of
https://github.com/zellyn/diskii.git
synced 2025-02-19 13:30:48 +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:
|
after_success:
|
||||||
# Cross-compile tagged releases.
|
# Cross-compile tagged releases.
|
||||||
if ([ "$TRAVIS_BRANCH" == "master" ] || [ ! -z "$TRAVIS_TAG" ]) && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then
|
if ([ "$TRAVIS_BRANCH" == "master" ] || [ ! -z "$TRAVIS_TAG" ]) && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then
|
||||||
go get github.com/inconshreveable/mousetrap
|
go get github.com/inconshreveable/mousetrap;
|
||||||
mkdir -p release
|
mkdir -p release;
|
||||||
GOOS=linux GOARCH=amd64 go build -o release/diskii-linux-amd64
|
GOOS=linux GOARCH=amd64 go build -o release/diskii-linux-amd64;
|
||||||
GOOS=darwin GOARCH=amd64 go build -o release/diskii-macos-amd64
|
GOOS=darwin GOARCH=amd64 go build -o release/diskii-macos-amd64;
|
||||||
GOOS=windows GOARCH=amd64 go build -o release/diskii-windows-amd64.exe
|
GOOS=windows GOARCH=amd64 go build -o release/diskii-windows-amd64.exe;
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user