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