.travis.yml: Move shell code out of .travis.yml
[fio.git] / ci / travis-build.sh
CommitLineData
12e86ecb
BVA
1#!/bin/bash
2
3EXTRA_CFLAGS="-Werror"
4
5if [[ "$BUILD_ARCH" == "x86" ]]; then
6 EXTRA_CFLAGS="${EXTRA_CFLAGS} -m32"
7fi
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