From 7b666720836d48b4b183090be9181be097068016 Mon Sep 17 00:00:00 2001 From: Salvador Fuentes Date: Fri, 31 Aug 2018 11:59:44 -0500 Subject: [PATCH] travis: add linux-ppc64le and osx Run statick checks on linux-ppc64le and osx. Fixes: #691. Signed-off-by: Salvador Fuentes --- .ci/static-checks.sh | 2 +- .travis.yml | 17 ++++++++++++++++- 2 files changed, 17 insertions(+), 2 deletions(-) diff --git a/.ci/static-checks.sh b/.ci/static-checks.sh index fe6d9013c9..12a3d22fe2 100755 --- a/.ci/static-checks.sh +++ b/.ci/static-checks.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Copyright (c) 2017-2018 Intel Corporation # diff --git a/.travis.yml b/.travis.yml index a4f3f0b70f..82c1f16a8c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,7 +4,16 @@ # SPDX-License-Identifier: Apache-2.0 # -dist: trusty +os: + - linux + - osx + - linux-ppc64le + +matrix: + include: + - os: linux + sudo: required + dist: trusty language: go @@ -15,5 +24,11 @@ go: env: - target_branch=$TRAVIS_BRANCH +before_install: + - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install bash; fi + before_script: + - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then export PATH=/usr/local/bin:$PATH; fi + +script: - ".ci/static-checks.sh github.com/kata-containers/tests"