Travis: Slight refactor.

pull/45/head
JeremyRand 7 years ago
parent 0688b3ea95
commit 042dab66aa
No known key found for this signature in database
GPG Key ID: B3F2D165786D6570

@ -60,8 +60,9 @@ mkdir -p "$GOPATH/releasing/idist" "$GOPATH/releasing/dist"
GOX_PARA=3
# cgo crosscompile
REPOS="github.com/$TRAVIS_REPO_SLUG/..."
# cgo crosscompile
gox -parallel=$GOX_PARA -cgo -osarch 'linux/386 linux/amd64' -output "$GOPATH/releasing/idist/ncdns-$TRAVIS_TAG-{{.OS}}_{{.Arch}}/bin/{{.Dir}}" $REPOS
RESULT1=$?

Loading…
Cancel
Save