.travis.yml: Make the build command more readable by splitting at &&
[libffi.git] / .travis.yml
1 language: c
2 compiler:
3   - gcc
4   - clang
5 env:
6   -
7   - HOST=i386-pc-linux-gnu
8 matrix:
9   exclude:
10     - compiler: clang
11       env: HOST=i386-pc-linux-gnu
12
13 before_script:
14   - sudo apt-get install dejagnu texinfo
15   - if [ "$HOST" = i386-pc-linux-gnu ] ; then sudo apt-get install gcc-multilib g++-multilib && CC="$CC -m32" ; fi
16
17 script:
18   - ./autogen.sh
19   - ./configure ${HOST+--host=$HOST}
20   - make
21   - make dist
22   - make check