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