mirror of
https://github.com/zellyn/diskii.git
synced 2024-05-28 18:41:27 +00:00
Skip cross-compilation on master
This commit is contained in:
parent
58a2726f1c
commit
0c5c863c01
|
@ -15,7 +15,8 @@ deploy:
|
||||||
tags: true
|
tags: true
|
||||||
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 [ ! -z "$TRAVIS_TAG" ]; then
|
||||||
|
echo 'Cross-compiling';
|
||||||
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;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user