Commit | Line | Data |
---|---|---|
d79b085f | 1 | language: c |
6afa04b7 SW |
2 | os: |
3 | - linux | |
d79b085f JA |
4 | compiler: |
5 | - clang | |
6 | - gcc | |
569dccc7 SW |
7 | env: |
8 | global: | |
9 | - MAKEFLAGS="-j 2" | |
fa3c391d SW |
10 | matrix: |
11 | include: | |
12 | - os: osx | |
13 | compiler: clang # Workaround travis setting CC=["clang", "gcc"] | |
14 | # Build using the 10.12 SDK but target and run on OSX 10.11 | |
15 | # - os: osx | |
16 | # compiler: clang | |
17 | # osx_image: xcode8 | |
18 | # env: SDKROOT=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk MACOSX_DEPLOYMENT_TARGET=10.11 | |
19 | # Build on the latest OSX version (will eventually become obsolete) | |
20 | - os: osx | |
21 | compiler: clang | |
22 | osx_image: xcode8.2 | |
23 | exclude: | |
24 | - os: osx | |
25 | compiler: gcc | |
546f51ce | 26 | before_install: |
6afa04b7 SW |
27 | - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get -qq update; fi |
28 | - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install -qq -y libaio-dev libnuma-dev libz-dev; fi |