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

Commit ab48ccf

Browse files
committed
travis: add linux-ppc64le and osx
Run static checks on linux-ppc64le and osx. Fixes: #691. Signed-off-by: Salvador Fuentes <[email protected]>
1 parent a0d6846 commit ab48ccf

File tree

2 files changed

+19
-4
lines changed

2 files changed

+19
-4
lines changed

.ci/static-checks.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
# Copyright (c) 2017-2018 Intel Corporation
44
#

.travis.yml

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,19 @@
44
# SPDX-License-Identifier: Apache-2.0
55
#
66

7-
dist: trusty
7+
os:
8+
- linux
9+
- osx
10+
- linux-ppc64le
11+
12+
matrix:
13+
include:
14+
- os: linux
15+
sudo: required
16+
dist: trusty
817

918
language: go
19+
go_import_path: github.com/kata-containers/tests
1020

1121
go:
1222
- "1.10.x"
@@ -15,5 +25,10 @@ go:
1525
env:
1626
- target_branch=$TRAVIS_BRANCH
1727

18-
before_script:
19-
- ".ci/static-checks.sh github.com/kata-containers/tests"
28+
before_install:
29+
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get update -qq ; fi
30+
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install -y -qq automake ; fi
31+
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install bash; fi
32+
33+
script:
34+
- bash .ci/static-checks.sh github.com/kata-containers/tests

0 commit comments

Comments
 (0)