From eaa5c7a442f3bff7e7adcda1cc50e45bdae1ad27 Mon Sep 17 00:00:00 2001 From: Graham Whaley Date: Wed, 10 Oct 2018 10:30:47 +0100 Subject: [PATCH] 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 --- .travis.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.travis.yml b/.travis.yml index a6e0fd195c..c37d597889 100644 --- a/.travis.yml +++ b/.travis.yml @@ -20,10 +20,15 @@ go: env: - target_branch=$TRAVIS_BRANCH +before_install: + - sudo apt update -y -qq + - sudo apt install -y -qq curl # for yq installer + before_script: - ".ci/static-checks.sh" install: - cd ${TRAVIS_BUILD_DIR} + - ".ci/install-yq.sh" - make - sudo -E PATH=$PATH make install