Merge branch 'master' into travis-more-osarch

pull/22/head
Hugo Landau 7 years ago committed by GitHub
commit acb1fd0803

@ -1,6 +1,7 @@
language: go language: go
go: go:
- 1.7.1 - 1.7.1
- 1.8.3
addons: addons:
apt: apt:

@ -17,7 +17,7 @@ echo Cross-compiling releases...
mkdir -p "$GOPATH/releasing/idist" "$GOPATH/releasing/dist" mkdir -p "$GOPATH/releasing/idist" "$GOPATH/releasing/dist"
# cgo crosscompile # cgo crosscompile
REPOS="github.com/$TRAVIS_REPO_SLUG" REPOS="github.com/$TRAVIS_REPO_SLUG/..."
gox -cgo -osarch 'linux/386 linux/amd64' -output "$GOPATH/releasing/idist/ncdns-$TRAVIS_TAG-{{.OS}}_{{.Arch}}/bin/{{.Dir}}" $REPOS gox -cgo -osarch 'linux/386 linux/amd64' -output "$GOPATH/releasing/idist/ncdns-$TRAVIS_TAG-{{.OS}}_{{.Arch}}/bin/{{.Dir}}" $REPOS
RESULT1=$? RESULT1=$?

Loading…
Cancel
Save