Skip to content
This repository has been archived by the owner on Jun 28, 2024. It is now read-only.

Commit

Permalink
travis: add linux-ppc64le and osx
Browse files Browse the repository at this point in the history
Run static checks on linux-ppc64le and osx.

Fixes: #691.

Signed-off-by: Salvador Fuentes <salvador.fuentes@intel.com>
  • Loading branch information
chavafg committed Sep 3, 2018
1 parent 5efdbbd commit 72e29e6
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .ci/static-checks.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

# Copyright (c) 2017-2018 Intel Corporation
#
Expand Down
21 changes: 18 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,19 @@
# SPDX-License-Identifier: Apache-2.0
#

dist: trusty
os:
- linux
- osx
- linux-ppc64le

matrix:
include:
- os: linux
sudo: required
dist: trusty

language: go
go_import_path: github.com/kata-containers/tests

go:
- "1.10.x"
Expand All @@ -15,5 +25,10 @@ go:
env:
- target_branch=$TRAVIS_BRANCH

before_script:
- ".ci/static-checks.sh github.com/kata-containers/tests"
before_install:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get update -qq ; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install -y -qq automake ; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install bash coreutils; fi

script:
- bash .ci/static-checks.sh github.com/kata-containers/tests

0 comments on commit 72e29e6

Please sign in to comment.