Skip to content

Commit

Permalink
Remove linker flag
Browse files Browse the repository at this point in the history
  • Loading branch information
coufalja committed Dec 3, 2018
1 parent 606cb83 commit 54530a4
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 @@ -47,7 +47,7 @@ before_deploy:
if [ "$GOOS" = "windows" ]; then
build_cmd="GOOS=$GOOS GOARCH=$GOARCH go build -o scccmd -ldflags '-w -s -X 'github.com/WanderaOrg/scccmd/cmd.Version=${TRAVIS_TAG}"
else
build_cmd="CGO_ENABLED=0 GOOS=$GOOS GOARCH=$GOARCH go build -o scccmd -ldflags '-d -w -s -X 'github.com/WanderaOrg/scccmd/cmd.Version=${TRAVIS_TAG}"
build_cmd="CGO_ENABLED=0 GOOS=$GOOS GOARCH=$GOARCH go build -o scccmd -ldflags '-w -s -X 'github.com/WanderaOrg/scccmd/cmd.Version=${TRAVIS_TAG}"
fi
if ! eval $build_cmd; then
echo "Failed building sample for $PLATFORM" && return 1
Expand Down

0 comments on commit 54530a4

Please sign in to comment.