Skip to content

Commit

Permalink
re-enable cgo golang/go#19569
Browse files Browse the repository at this point in the history
  • Loading branch information
eraac committed Mar 27, 2018
1 parent f51f63d commit 3d417d1
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 @@ -13,5 +13,5 @@ before_script:
- ./mc config host add minio ${URL_S3} ${ACCESS_KEY_S3} ${SECRET_KEY_S3} S3v4

script:
- export GOOS=linux GOARCH=amd64 CGO_ENABLED=0
- export GOOS=linux GOARCH=amd64
- for plugin in $(find . -type d | egrep -v "^\.(/vendor|/\.|$)" | cut -c3-); do plugin_name="${plugin}-$(cat ${plugin}/VERSION)-${GOOS}-${GOARCH}.so"; echo "build ${plugin_name}"; go build -buildmode=plugin -o ${plugin_name} ${plugin}/*.go; ./mc cp ${plugin_name} minio/friendly-bot/plugins; done

0 comments on commit 3d417d1

Please # to comment.