-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
- Loading branch information
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,9 @@ | ||
#!/bin/bash | ||
|
||
APP=$1 | ||
|
||
for GOOS in darwin linux windows; do | ||
for GOARCH in amd64; do | ||
GOOS=$GOOS GOARCH=$GOARCH go build -v -o pkg/$GOOS-$GOARCH/summon | ||
GOOS=$GOOS GOARCH=$GOARCH go build -v -o pkg/$GOOS-$GOARCH/$APP | ||
done | ||
done | ||
done |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,12 @@ | ||
#!/bin/bash | ||
|
||
APP="summon" | ||
WORKDIR="/go/src/github.com/conjurinc/${APP}" | ||
WORKDIR="/go/src/github.com/conjurinc/${APP}/" | ||
|
||
docker run --rm \ | ||
docker run --rm -it \ | ||
-v "$PWD":$WORKDIR \ | ||
-e "GOPATH=$WORKDIR/Godeps/_workspace:/go" \ | ||
-w $WORKDIR \ | ||
golang:1.5.3 \ | ||
bash -ceo pipefail "export PATH=$WORKDIR/Godeps/_workspace/bin:\$PATH && \ | ||
go get -u github.com/jstemmer/go-junit-report && \ | ||
golang:1.6 \ | ||
bash -ceo pipefail "go get -u github.com/jstemmer/go-junit-report && \ | ||
go test -v ./... | tee test.tmp \ | ||
&& cat test.tmp | go-junit-report > junit.xml && rm test.tmp" |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.