testsuite: Add ABIs to the test matrix; unify tests across ABIs
[platform/upstream/libffi.git] / .travis.yml
1 language: c
2 compiler:
3   - gcc
4   - clang
5 env:
6   - build32=false
7   - build32=true
8 matrix:
9   exclude:
10     - compiler: clang
11       env: build32=true
12
13 before_script:
14   - sudo apt-get install dejagnu texinfo
15   - if $build32 ; then sudo apt-get install gcc-multilib g++-multilib ; fi
16
17 script: run= && if $build32 ; then run=i386 && mkdir path32 && PATH="$(pwd)/path32:$PATH" && printf '#!/bin/sh\nexec /usr/bin/'"$CC"' -m32 "$@"' > "path32/$CC" && chmod a+x "path32/$CC" ; fi && ./autogen.sh && $run ./configure && make && make dist && make check