Allowed vendor directory to be rebuilt during PRs.

This commit is contained in:
Patrick Connolly 2018-11-05 15:40:27 +08:00
parent e873280794
commit 4d4a2b8c44

View File

@ -3,7 +3,9 @@ go:
- 1.11.x
# we have everything vendored
install: true
# if we're on a PR, then run go get and ignore vendoring
install:
- 'if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then go get -t -v ./...; fi'
git:
depth: 200