-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix build scripts to work with Godeps
- Loading branch information
1 parent
dbdb53a
commit ee15194
Showing
4 changed files
with
8 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
Godeps/_workspace/src/github.com/jstemmer/ | ||
test.rb | ||
test.out | ||
junit.xml | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,17 @@ | ||
#!/bin/bash | ||
|
||
app="summon" | ||
|
||
docker build -t summon/build . | ||
|
||
projectpath="/goroot/src/github.com/conjurinc/summon" | ||
|
||
docker run --rm \ | ||
-v "$(pwd)":"${projectpath}" \ | ||
-w "${projectpath}" \ | ||
-e "GOPATH=/goroot/src/github.com/conjurinc/${app}/Godeps/_workspace:/goroot" \ | ||
summon/build \ | ||
bash -ceo pipefail "xargs -L1 go get <Godeps && \ | ||
go build ./... && \ | ||
bash -ceo pipefail "export PATH=/goroot/src/github.com/conjurinc/${app}/Godeps/_workspace/bin:\$PATH && \ | ||
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" |