From 26a48586a0cca1f8132f826313858de3d78d65f3 Mon Sep 17 00:00:00 2001 From: Valentin Rothberg Date: Thu, 21 Feb 2019 14:11:48 +0100 Subject: [PATCH] Travis: add vendor checks Add checks to Tarvis to make sure that the vendor.conf is in sync with the code and the dependencies in ./vendor. Do this by first running `make vendor` followed by running `./hack/tree_status.sh` to check if any file in the tree has been changed. Signed-off-by: Valentin Rothberg --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index a69aa099..ba62900f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,3 +1,4 @@ +language: go matrix: include: @@ -21,4 +22,4 @@ install: script: - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then hack/travis_osx.sh ; fi - - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then make check ; fi + - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then make vendor && ./hack/tree_status.sh && make check ; fi