Merge pull request #1904 from GabyCT/topic/checkgo

ci: Allow travis to use go install script
This commit is contained in:
Archana Shinde 2019-07-22 11:36:59 -07:00 committed by GitHub
commit c7af16d363
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 17 additions and 3 deletions

16
.ci/install_go.sh Executable file
View File

@ -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

View File

@ -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"