Skip to content

Commit

Permalink
Merge pull request #49 from krallin/disable-cgo
Browse files Browse the repository at this point in the history
Disable cgo
  • Loading branch information
krallin authored Feb 15, 2019
2 parents de0b58f + ee72533 commit e5e6b5c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ jobs:
script:
- mkdir -p dist
- export GOOS="linux"
- for arch in amd64 386 arm arm64; do GOARCH="$arch" go build && mv supercronic "dist/supercronic-${GOOS}-${arch}"; done
- export CGO_ENABLED=0
- for arch in amd64 386 arm arm64; do GOARCH="$arch" go build && file supercronic | grep 'statically linked' && mv supercronic "dist/supercronic-${GOOS}-${arch}"; done
- pushd dist
- ls -lah *
- file *
Expand Down

0 comments on commit e5e6b5c

Please sign in to comment.