From 4688e18267fb0cdd0a55883baef4642d99ba1929 Mon Sep 17 00:00:00 2001 From: Joseph Daniel Date: Fri, 4 Oct 2019 14:09:19 +0530 Subject: [PATCH] Attempt to fix travis --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 903505b..91af94a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -19,7 +19,7 @@ script: - VAR="-X github.com/godwhoa/oodle/oodle.Commit=${COMMIT} -X github.com/godwhoa/oodle/oodle.Version=${VERSION}" - echo $VAR - GOOS=linux go build -o oodle_linux -a -tags netgo -ldflags "$VAR -s -w -extldflags -static" - - GOOS=linux GOARCH=arm GOARM=7 CC=arm-linux-gnueabihf-gcc-4.8 CGO_ENABLED=1 go build -o oodle_linux_armv7 -a -tags netgo -ldflags "$VAR -s -w -linkmode external -extldflags -static" + - GOOS=linux GOARCH=arm GOARM=7 CC=arm-linux-gnueabihf-gcc-8 CGO_ENABLED=1 go build -o oodle_linux_armv7 -a -tags netgo -ldflags "$VAR -s -w -linkmode external -extldflags -static" - upx --best oodle_linux - tar -cvzf oodle_$VERSION_x86_64.tar.gz oodle_linux scripts/keepalive config.toml - tar -cvzf oodle_$VERSION_arm7.tar.gz oodle_linux_armv7 scripts/keepalive config.toml