Skip to content

Commit

Permalink
Added OS Based go get for gox
Browse files Browse the repository at this point in the history
  • Loading branch information
racerxdl committed Feb 10, 2019
1 parent a2a7490 commit 96db562
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions travis-binary-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,13 @@ then
do
echo "Building $i"
cd $i
echo "Running go get for linux"
go get -v
for os in $BUILD_OS
do
echo "Running go get for $os"
GOOS=$os go get -v
done
mkdir -p out
echo "Building for Linux / ${BUILD_LINUX_ARCH}"
gox -output "out/remoteSigner-{{.Dir}}-{{.OS}}-{{.Arch}}" -arch="${BUILD_LINUX_ARCH}" -os="linux"
Expand Down

0 comments on commit 96db562

Please sign in to comment.