diff --git a/.ci/install_go.sh b/.ci/install_go.sh new file mode 100755 index 0000000000..55c3383ccb --- /dev/null +++ b/.ci/install_go.sh @@ -0,0 +1,16 @@ +#!/bin/bash +# +# Copyright (c) 2019 Intel Corporation +# +# SPDX-License-Identifier: Apache-2.0 + +set -e + +cidir=$(dirname "$0") +source "${cidir}/lib.sh" + +clone_tests_repo + +pushd "${tests_repo_dir}" +.ci/install_go.sh -p -f +popd diff --git a/.travis.yml b/.travis.yml index be6f4d7392..4398e98c88 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,9 +14,6 @@ os: - linux-ppc64le go_import_path: github.com/kata-containers/runtime -go: - - "1.11.x" - env: - target_branch=$TRAVIS_BRANCH @@ -24,6 +21,7 @@ before_install: - ".ci/setup.sh" before_script: + - ".ci/install_go.sh" - ".ci/static-checks.sh" - ".ci/versions_checker.sh"