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 <james.o.hunt@intel.com>
This commit is contained in:
James O. D. Hunt
2018-10-23 16:43:51 +01:00
parent 2a54ac9830
commit b40b9ff13d
2 changed files with 12 additions and 1 deletions

View File

@@ -7,7 +7,10 @@
sudo: required
dist: trusty
language: bash
language: go
go:
- "1.10.x"
before_script:
- ".ci/setup.sh"

8
Makefile Normal file
View File

@@ -0,0 +1,8 @@
#
# Copyright (c) 2018 Intel Corporation
#
# SPDX-License-Identifier: Apache-2.0
#
default:
@true