From 042dab66aa8e171977947226a091619edde96b68 Mon Sep 17 00:00:00 2001 From: JeremyRand Date: Fri, 3 Nov 2017 04:18:01 +0000 Subject: [PATCH 1/2] Travis: Slight refactor. --- .travis/script | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis/script b/.travis/script index c491101..a648a0f 100644 --- a/.travis/script +++ b/.travis/script @@ -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=$? From 3a75a2f3b069cc808974eeb22a60e7b0e7cd1b5a Mon Sep 17 00:00:00 2001 From: JeremyRand Date: Fri, 3 Nov 2017 04:32:01 +0000 Subject: [PATCH 2/2] Travis: build q and dns-prop279. (Temporary kludge until we replace the build system with RBM.) --- .travis/script | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis/script b/.travis/script index a648a0f..0cac64c 100644 --- a/.travis/script +++ b/.travis/script @@ -1,6 +1,6 @@ #!/bin/bash -travis_retry go get github.com/tcnksm/ghr github.com/mitchellh/gox gopkg.in/alecthomas/gometalinter.v1 +travis_retry go get github.com/tcnksm/ghr github.com/mitchellh/gox gopkg.in/alecthomas/gometalinter.v1 github.com/miekg/exdns/q github.com/namecoin/dns-prop279 go test -v ./... RESULT=$? @@ -60,7 +60,7 @@ mkdir -p "$GOPATH/releasing/idist" "$GOPATH/releasing/dist" GOX_PARA=3 -REPOS="github.com/$TRAVIS_REPO_SLUG/..." +REPOS="github.com/$TRAVIS_REPO_SLUG/... github.com/miekg/exdns/q github.com/namecoin/dns-prop279/..." # cgo crosscompile gox -parallel=$GOX_PARA -cgo -osarch 'linux/386 linux/amd64' -output "$GOPATH/releasing/idist/ncdns-$TRAVIS_TAG-{{.OS}}_{{.Arch}}/bin/{{.Dir}}" $REPOS