t/run-fio-tests: relax acceptance criterion for t0011
[fio.git] / .travis.yml
CommitLineData
d79b085f 1language: c
6afa04b7
SW
2os:
3 - linux
d79b085f
JA
4compiler:
5 - clang
6 - gcc
569dccc7 7env:
be90946e
SW
8 matrix:
9 - BUILD_ARCH="x86"
10 - BUILD_ARCH="x86_64"
569dccc7
SW
11 global:
12 - MAKEFLAGS="-j 2"
fa3c391d
SW
13matrix:
14 include:
15 - os: osx
16 compiler: clang # Workaround travis setting CC=["clang", "gcc"]
be90946e 17 env: BUILD_ARCH="x86_64"
fa3c391d
SW
18 - os: osx
19 compiler: clang
524537cb 20 osx_image: xcode9.4
be90946e 21 env: BUILD_ARCH="x86_64"
8a7e178e
JA
22 - os: osx
23 compiler: clang
524537cb 24 osx_image: xcode11.2
8a7e178e 25 env: BUILD_ARCH="x86_64"
fa3c391d
SW
26 exclude:
27 - os: osx
28 compiler: gcc
be90946e
SW
29 exclude:
30 - os: linux
31 compiler: clang
32 env: BUILD_ARCH="x86" # Only do the gcc x86 build to reduce clutter
546f51ce 33before_install:
be90946e
SW
34 - EXTRA_CFLAGS="-Werror"
35 - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
524537cb 36 pkgs=(libaio-dev libnuma-dev libz-dev librbd-dev libibverbs-dev librdmacm-dev libcunit1 libcunit1-dev);
be90946e
SW
37 if [[ "$BUILD_ARCH" == "x86" ]]; then
38 pkgs=("${pkgs[@]/%/:i386}");
524537cb 39 pkgs+=(gcc-multilib python-scipy);
be90946e
SW
40 EXTRA_CFLAGS="${EXTRA_CFLAGS} -m32";
41 else
524537cb 42 pkgs+=(glusterfs-common python-scipy);
be90946e
SW
43 fi;
44 sudo apt-get -qq update;
45 sudo apt-get install --no-install-recommends -qq -y "${pkgs[@]}";
46 fi
524537cb
VF
47 - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
48 brew update;
49 brew install cunit;
50 if [[ "$TRAVIS_OSX_IMAGE" == "xcode11.2" ]]; then
51 pip3 install scipy;
52 else
53 pip install scipy;
54 fi;
55 fi
a397a400 56script:
be90946e
SW
57 - ./configure --extra-cflags="${EXTRA_CFLAGS}" && make
58 - make test
524537cb 59 - sudo python3 t/run-fio-tests.py --skip 6 1007 1008