travis: integrate vendor checks into the CI
Add a `make vendor` run followed by a `./hack/tree_status.sh` to
enforce clean dependencies on all future changes.
@@ -6,6 +6,8 @@ services:
- docker
before_install:
+ - if [ "${TRAVIS_OS_NAME}" = linux ]; then make vendor; fi
+ - if [ "${TRAVIS_OS_NAME}" = linux ]; then ./hack/tree_status.sh; fi
- if [ "${TRAVIS_OS_NAME}" = linux ]; then sudo apt-get -qq update; fi
- if [ "${TRAVIS_OS_NAME}" = linux ]; then sudo apt-get -qq install btrfs-tools libdevmapper-dev libgpgme11-dev libseccomp-dev; fi
- if [ "${TRAVIS_OS_NAME}" = linux ]; then sudo apt-get -qq install autoconf automake bison clang-format-3.9 e2fslibs-dev libfuse-dev libtool liblzma-dev gettext libsystemd-journal-dev; fi
