Merge pull request #1682 from BooleanCat/master

Pin version of gojsonschema in tests
This commit is contained in:
Michael Crosby 2018-01-11 10:46:33 -05:00 committed by GitHub
commit 0aa69f2d6c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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" run bash -c "GOPATH='$GOPATH' go get github.com/xeipuuv/gojsonschema"
[ "$status" -eq 0 ] [ "$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 GOPATH="$GOPATH" go build src/runtime-spec/schema/validate.go
[ -e ./validate ] [ -e ./validate ]