Merge branch 'master' of https://github.com/bvanassche/fio
[fio.git] / ci / travis-build.sh
1 #!/bin/bash
2
3 EXTRA_CFLAGS="-Werror"
4
5 if [[ "$BUILD_ARCH" == "x86" ]]; then
6     EXTRA_CFLAGS="${EXTRA_CFLAGS} -m32"
7 fi
8
9 ./configure --extra-cflags="${EXTRA_CFLAGS}" &&
10     make &&
11     make test &&
12     if [[ "$TRAVIS_CPU_ARCH" == "arm64" ]]; then
13         sudo python3 t/run-fio-tests.py --skip 6 1007 1008 --debug -p 1010:"--skip 15 16 17 18 19 20"
14     else
15         sudo python3 t/run-fio-tests.py --skip 6 1007 1008 --debug
16     fi