From 9aba952dbe150d45a7ea5dc50eb93d325a6486b9 Mon Sep 17 00:00:00 2001 From: Stash Dev Date: Thu, 28 Feb 2019 19:02:09 -0800 Subject: [PATCH] Fix CI --- .travis.yml | 1 - scripts/cross-compile.sh | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 9fde9d506..2894eb84d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -19,7 +19,6 @@ script: - go test before_deploy: - docker pull bepsays/ci-goreleaser -- go get -u github.com/gobuffalo/packr/v2/packr2 - sh ./scripts/cross-compile.sh - git tag -f v0.0.0-alpha - git push -f --tags diff --git a/scripts/cross-compile.sh b/scripts/cross-compile.sh index 4c98a6904..7e029cbd7 100755 --- a/scripts/cross-compile.sh +++ b/scripts/cross-compile.sh @@ -1,6 +1,6 @@ #!/bin/sh -SETUP="export GO111MODULE=on; export CGO_ENABLED=1; go get -u github.com/gobuffalo/packr/v2/packr2;" +SETUP="go install github.com/gobuffalo/packr/v2/packr2; export GO111MODULE=on; export CGO_ENABLED=1;" WINDOWS="GOOS=windows GOARCH=amd64 CC=x86_64-w64-mingw32-gcc CXX=x86_64-w64-mingw32-g++ packr2 build -o dist/stash-win.exe -ldflags \"-extldflags '-static'\" -tags extended -v -mod=vendor;" DARWIN="GOOS=darwin GOARCH=amd64 CC=o64-clang CXX=o64-clang++ packr2 build -o dist/stash-osx -tags extended -v -mod=vendor;" LINUX="packr2 build -o dist/stash-linux -v -mod=vendor;"