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"