Fix Travis example tests for release-1.13 (#13145)

xref: #13122
This commit is contained in:
Qiming
2019-03-14 01:47:40 +08:00
committed by Kubernetes Prow Robot
parent f2f0ae0356
commit 253480646a
3 changed files with 66 additions and 67 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
language: go
go:
- 1.10.2
- 1.11.5
jobs:
include:
@@ -16,7 +16,7 @@ jobs:
# Make sure we are testing against the correct branch
- pushd $GOPATH/src/k8s.io && git clone https://github.com/kubernetes/kubernetes && popd
- pushd $GOPATH/src/k8s.io/kubernetes && git checkout release-1.11 && popd
- pushd $GOPATH/src/k8s.io/kubernetes && git checkout release-1.13 && make generated_files && popd
- cp -L -R $GOPATH/src/k8s.io/kubernetes/vendor/ $GOPATH/src/
- rm -r $GOPATH/src/k8s.io/kubernetes/vendor/