From 58a2726f1caaf832555c271800a134bd93fe2943 Mon Sep 17 00:00:00 2001 From: Zellyn Hunter Date: Sun, 13 Nov 2016 23:11:01 -0500 Subject: [PATCH] Attempt to fix conditional build in travis.yml --- .travis.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index e9d8e10..85b6d61 100644 --- a/.travis.yml +++ b/.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