mirror of
https://github.com/aljazceru/kata-containers.git
synced 2025-12-26 10:34:24 +01:00
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 <graham.whaley@intel.com>
35 lines
532 B
YAML
35 lines
532 B
YAML
#
|
|
# Copyright (c) 2018 Intel Corporation
|
|
# Copyright (c) 2018 IBM
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
sudo: required
|
|
dist: trusty
|
|
|
|
language: go
|
|
os:
|
|
- linux
|
|
- linux-ppc64le
|
|
go_import_path: github.com/kata-containers/runtime
|
|
|
|
go:
|
|
- "1.10.x"
|
|
|
|
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
|