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