Merge #45: Build system: Build q and dns-prop279

3a75a2f Travis: build q and dns-prop279. (JeremyRand)
042dab6 Travis: Slight refactor. (JeremyRand)

Pull request description:

  Temporary kludge for getting `q` and `dns-prop279` binaries included in the releases until we replace the build system with RBM.

Tree-SHA512: 581619de3f466d52c4cc2a7e9fc6fca329992ff78040e1b939ac589013768b83e1205ea49543297cf4e895e965a81b489cfa64f69bd3ce4652018d5435ac6745
pull/51/head
JeremyRand 7 years ago
commit ada23392c6
No known key found for this signature in database
GPG Key ID: B3F2D165786D6570

@ -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,8 +60,9 @@ mkdir -p "$GOPATH/releasing/idist" "$GOPATH/releasing/dist"
GOX_PARA=3
REPOS="github.com/$TRAVIS_REPO_SLUG/... github.com/miekg/exdns/q github.com/namecoin/dns-prop279/..."
# cgo crosscompile
REPOS="github.com/$TRAVIS_REPO_SLUG/..."
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