CI: travis: call yq installer

Install `yq` before running the tests.
The Makefile now uses `yq` to check the golang version against
the versions file.

Signed-off-by: Graham Whaley <graham.whaley@intel.com>
This commit is contained in:
Graham Whaley 2018-10-10 10:30:47 +01:00
parent cbf7fb2f75
commit eaa5c7a442

View File

@ -20,10 +20,15 @@ go:
env: env:
- target_branch=$TRAVIS_BRANCH - target_branch=$TRAVIS_BRANCH
before_install:
- sudo apt update -y -qq
- sudo apt install -y -qq curl # for yq installer
before_script: before_script:
- ".ci/static-checks.sh" - ".ci/static-checks.sh"
install: install:
- cd ${TRAVIS_BUILD_DIR} - cd ${TRAVIS_BUILD_DIR}
- ".ci/install-yq.sh"
- make - make
- sudo -E PATH=$PATH make install - sudo -E PATH=$PATH make install