forked from kubo/plthook
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
21 lines (21 loc) · 836 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
matrix:
include:
- os: linux
env: OS=linux
sudo: required
- os: linux
# Use QEMU 2.2 in ppa:wgrant/scalingstack-ppc64el.
env: OS=linux-cross CROSS=1
dist: trusty
sudo: required
- os: osx
env: OS=osx
language: c
before_install:
- if [[ "$OS" == "linux" ]]; then sudo apt-get update -qq; fi
- if [[ "$OS" == "linux" ]]; then sudo apt-get install gcc-multilib; fi
- if [[ "$OS" == "linux-cross" ]]; then sudo add-apt-repository ppa:wgrant/scalingstack-ppc64el -y; fi
- if [[ "$OS" == "linux-cross" ]]; then sudo apt-get update -qq; fi
- if [[ "$OS" == "linux-cross" ]]; then sudo apt-get install qemu-user gcc-arm-linux-gnueabi gcc-arm-linux-gnueabihf gcc-aarch64-linux-gnu gcc-powerpc-linux-gnu gcc-powerpc64le-linux-gnu; fi
script:
- cd test && make check CROSS=$CROSS