Merge branch 'shifted_logging' of https://github.com/sitsofe/fio
[fio.git] / .travis.yml
... / ...
CommitLineData
1language: c
2os:
3 - linux
4compiler:
5 - clang
6 - gcc
7env:
8 global:
9 - MAKEFLAGS="-j 2"
10matrix:
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
26before_install:
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 librbd-dev glusterfs-common libibverbs-dev librdmacm-dev; fi
29script:
30 - ./configure --extra-cflags="-Werror" && make && make test