18 compiler: clang # Workaround travis setting CC=["clang", "gcc"]
19 env: BUILD_ARCH="x86_64"
20 # Latest xcode image (needs periodic updating)
24 env: BUILD_ARCH="x86_64"
31 env: BUILD_ARCH="x86" # Only do the gcc x86 build to reduce clutter
33 - EXTRA_CFLAGS="-Werror"
34 - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
35 pkgs=(libaio-dev libcunit1 libcunit1-dev libgoogle-perftools4 libibverbs-dev libiscsi-dev libnuma-dev librbd-dev librdmacm-dev libz-dev);
36 if [[ "$BUILD_ARCH" == "x86" ]]; then
37 pkgs=("${pkgs[@]/%/:i386}");
38 pkgs+=(gcc-multilib python-scipy);
39 EXTRA_CFLAGS="${EXTRA_CFLAGS} -m32";
41 pkgs+=(glusterfs-common python-scipy);
43 sudo apt-get -qq update;
44 sudo apt-get install --no-install-recommends -qq -y "${pkgs[@]}";
46 - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
49 if [[ "$TRAVIS_OSX_IMAGE" == "xcode11.2" ]]; then
55 - ./configure --extra-cflags="${EXTRA_CFLAGS}" && make
57 - sudo python3 t/run-fio-tests.py --skip 6 1007 1008 --debug