diff --git a/go.mod b/go.mod index 4e674da37..755089b7c 100644 --- a/go.mod +++ b/go.mod @@ -23,6 +23,7 @@ require ( github.com/knative/build v0.3.0 // indirect github.com/knative/pkg v0.0.0-20190110005142-b6044a7d1795 // indirect github.com/knative/serving v0.3.0 + github.com/knative/test-infra v0.0.0-20190326053250-44d850784ecb github.com/kr/pretty v0.1.0 // indirect github.com/mattbaird/jsonpatch v0.0.0-20171005235357-81af80346b1a // indirect github.com/mitchellh/go-homedir v1.0.0 diff --git a/go.sum b/go.sum index 4044b6a61..8cc0a7e26 100644 --- a/go.sum +++ b/go.sum @@ -63,6 +63,8 @@ github.com/knative/pkg v0.0.0-20190110005142-b6044a7d1795 h1:mTaIClRJEjRuTFOc4Gs github.com/knative/pkg v0.0.0-20190110005142-b6044a7d1795/go.mod h1:7Ijfhw7rfB+H9VtosIsDYvZQ+qYTz7auK3fHW/5z4ww= github.com/knative/serving v0.3.0 h1:kALSwD+P5GLdRj2mtZ2W4ZRRD//Q7nKjLqCPSpihkTY= github.com/knative/serving v0.3.0/go.mod h1:ljvMfwQy2qanaM/8xnBSK4Mz3Vv2NawC2fo5kFRJS1A= +github.com/knative/test-infra v0.0.0-20190326053250-44d850784ecb h1:4wAx6g3pRhmnnxvrX2pYB7z/2nhBtgLO/JJEZSjP1pY= +github.com/knative/test-infra v0.0.0-20190326053250-44d850784ecb/go.mod h1:l77IWBscEV5T4sYb64/9iwRCVY4UXEIqMcAppsblHW4= github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= diff --git a/test/presubmit-tests.sh b/test/presubmit-tests.sh index 806224ec2..36784c927 100755 --- a/test/presubmit-tests.sh +++ b/test/presubmit-tests.sh @@ -24,7 +24,7 @@ # Markdown linting failures don't show up properly in Gubernator resulting # in a net-negative contributor experience. export DISABLE_MD_LINTING=1 - +export GO111MODULE=on source $(dirname $0)/../vendor/github.com/knative/test-infra/scripts/presubmit-tests.sh # Checking licenses doesn't work yet with go mods.