8e32d3dfee4663ef15037f08462c9add6de757fb
[libffi.git] / .travis.yml
1 language: cpp
2 os:
3   - linux
4   - osx
5 compiler:
6   - gcc
7   - clang
8 matrix:
9   include:
10     - os: linux
11       compiler: gcc
12       env: HOST=i386-pc-linux-gnu
13
14 install:
15   - ./.travis/install.sh
16
17 script:
18   - ./autogen.sh
19   - if test x"$HOST" = x"i386-pc-linux-gnu"; then CC="$CC -m32"; CXX="$CXX -m32"; fi
20   - ./configure ${HOST+--host=$HOST}
21   - make
22   - make dist
23   - make check
24   - cat */testsuite/libffi.log