Pin version of gojsonschema in tests

Signed-off-by: Will Martin <wmartin@pivotal.io>
This commit is contained in:
Tom Godkin 2018-01-04 15:11:45 +00:00 committed by Will Martin
parent e6516b3d5d
commit a1edc03c49
1 changed files with 3 additions and 0 deletions

View File

@ -81,6 +81,9 @@ function teardown() {
run bash -c "GOPATH='$GOPATH' go get github.com/xeipuuv/gojsonschema"
[ "$status" -eq 0 ]
run git -C "${GOPATH}/src/github.com/xeipuuv/gojsonschema" reset --hard 6637feb73ee44cd4640bb3def285c29774234c7f
[ "$status" -eq 0 ]
GOPATH="$GOPATH" go build src/runtime-spec/schema/validate.go
[ -e ./validate ]