Skip to content

Commit

Permalink
Attempt to fix travis
Browse files Browse the repository at this point in the history
  • Loading branch information
godwhoa committed Oct 4, 2019
1 parent bf67ece commit 4688e18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4688e18

Please sign in to comment.