From b40b9ff13ddb5034f04080ed8ad0c6f57276d1d1 Mon Sep 17 00:00:00 2001 From: "James O. D. Hunt" Date: Tue, 23 Oct 2018 16:43:51 +0100 Subject: [PATCH] CI: Pin Travis golang version Travis appears to be providing a version of golang that is too old for https://mvdan.cc/xurls/cmd/xurls, which is used by the CI scripts in the tests repo. See: - https://github.com/kata-containers/runtime/pull/744 - https://github.com/kata-containers/tests/pull/843#issuecomment-432297737 Required adding a NOP makefile to avoid Travis from trying to build this repo using `go`. Fixes #281. Signed-off-by: James O. D. Hunt --- .travis.yml | 5 ++++- Makefile | 8 ++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 Makefile diff --git a/.travis.yml b/.travis.yml index 51fb1735..895b3879 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,7 +7,10 @@ sudo: required dist: trusty -language: bash +language: go + +go: + - "1.10.x" before_script: - ".ci/setup.sh" diff --git a/Makefile b/Makefile new file mode 100644 index 00000000..0d17ea72 --- /dev/null +++ b/Makefile @@ -0,0 +1,8 @@ +# +# Copyright (c) 2018 Intel Corporation +# +# SPDX-License-Identifier: Apache-2.0 +# + +default: + @true