travis: run godep restore for non-master branches

This commit is contained in:
Nikhita Raghunath 2018-10-05 16:32:14 +05:30
parent 3e116d4527
commit ae670e1f7c

View File

@ -5,4 +5,6 @@ go_import_path: k8s.io/client-go
go:
- 1.10.2
script: go build ./...
script:
- if [ "$TRAVIS_BRANCH" != "master" ]; then godep restore; fi
- go build ./...