21 compiler: clang # Workaround travis setting CC=["clang", "gcc"]
22 env: BUILD_ARCH="x86_64"
24 # Latest xcode image (needs periodic updating)
28 env: BUILD_ARCH="x86_64"
36 env: BUILD_ARCH="x86" # Only do the gcc x86 build to reduce clutter
42 - EXTRA_CFLAGS="-Werror"
43 - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
44 pkgs=(libaio-dev libcunit1 libcunit1-dev libgoogle-perftools4 libibverbs-dev libiscsi-dev libnuma-dev librbd-dev librdmacm-dev libz-dev);
45 if [[ "$BUILD_ARCH" == "x86" ]]; then
46 pkgs=("${pkgs[@]/%/:i386}");
47 pkgs+=(gcc-multilib python3-scipy);
48 EXTRA_CFLAGS="${EXTRA_CFLAGS} -m32";
50 pkgs+=(glusterfs-common python3-scipy);
52 sudo apt-get -qq update;
53 sudo apt-get install --no-install-recommends -qq -y "${pkgs[@]}";
55 - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
61 - ./configure --extra-cflags="${EXTRA_CFLAGS}" && make
63 - if [[ "$TRAVIS_CPU_ARCH" == "arm64" ]]; then
64 sudo python3 t/run-fio-tests.py --skip 6 1007 1008 --debug -p 1010:"--skip 15 16 17 18 19 20";
66 sudo python3 t/run-fio-tests.py --skip 6 1007 1008 --debug;