Re-enable mingw32 tests.
[platform/upstream/libffi.git] / .travis.yml
1 ---
2 sudo: required
3
4 language: cpp
5
6 # For qemu-powered targets, get the list of supported processors from
7 # travis by setting QEMU_CPU=help, then set -mcpu= for the compilers
8 # accordingly.
9
10 matrix:
11   include:
12 # This configuration is still using the native x86 toolchain?
13 #    - os: osx
14 #      env: HOST=aarch64-apple-darwin13
15     - os: osx
16       env: HOST=x86_64-apple-darwin10
17     - os: linux
18       env: HOST=x86_64-w64-mingw32 MEVAL='export CC="x86_64-w64-mingw32-gcc" && CXX="x86_64-w64-mingw32-g++" RUNTESTFLAGS="--target_board wine-sim" DEJAGNU="$TRAVIS_BUILD_DIR/.travis/site.exp" CONFIGURE_OPTIONS=--disable-shared LIBFFI_TEST_OPTIMIZATION="-O2"
19     - os: linux
20       env: HOST=sh4-linux-gnu CONFIGURE_OPTIONS=--disable-shared QEMU_LD_PREFIX=/usr/sh4-linux-gnu
21     - os: linux
22       env: HOST=alpha-linux-gnu CONFIGURE_OPTIONS=--disable-shared QEMU_LD_PREFIX=/usr/alpha-linux-gnu
23     - os: linux
24       env: HOST=m68k-linux-gnu MEVAL='export CC="m68k-linux-gnu-gcc-8 -mcpu=547x" && CXX="m68k-linux-gnu-g++-8 -mcpu=547x"' CONFIGURE_OPTIONS=--disable-shared QEMU_LD_PREFIX=/usr/m68k-linux-gnu QEMU_CPU=cfv4e
25     - os: linux
26       env: HOST=s390x-linux-gnu MEVAL='export CC="s390x-linux-gnu-gcc-8" && CXX="s390x-linux-gnu-g++-8"' CONFIGURE_OPTIONS=--disable-shared QEMU_LD_PREFIX=/usr/s390x-linux-gnu QEMU_CPU=max
27     - os: linux
28       env: HOST=arm32v7-linux-gnu LIBFFI_TEST_OPTIMIZATION="-O0"
29     - os: linux
30       env: HOST=arm32v7-linux-gnu LIBFFI_TEST_OPTIMIZATION="-O2"
31     - os: linux
32       env: HOST=arm32v7-linux-gnu LIBFFI_TEST_OPTIMIZATION="-O2 -fomit-frame-pointer"
33 # The sparc64 linux system in the GCC compile farm is non-responsive.
34 #    - os: linux
35 #      env: HOST=sparc64-linux-gnu
36 # Having problems getting logs for this one...
37 #    - os: linux
38 #      env: HOST=powerpc64le-unknown-linux-gnu
39 #    - os: linux
40 #      env: HOST=aarch64-linux-gnu
41 # The mips64 linux system in the GCC compile farm is not allowing logins
42 #    - os: linux
43 #      env: HOST=mips64el-linux-gnu
44     - os: linux
45       compiler: gcc
46       env: HOST=i386-pc-linux-gnu MEVAL='export CC="$CC -m32" && CXX="$CXX -m32"'
47     - os: linux
48       compiler: gcc
49     - os: linux
50       compiler: gcc
51       env: CONFIGURE_OPTIONS=--disable-shared
52     - os: linux
53       compiler: clang
54     - os: linux
55       compiler: clang
56       env: CONFIGURE_OPTIONS=--disable-shared
57     - os: linux
58       env: HOST=moxie-elf MEVAL='export PATH=/opt/moxielogic/bin:$PATH && CC=moxie-elf-gcc && CXX=moxie-elf-g++' LDFLAGS=-Tsim.ld RUNTESTFLAGS="--target_board moxie-sim" DEJAGNU="$TRAVIS_BUILD_DIR/.travis/site.exp"
59
60 before_install:
61   - if test x"$MEVAL" != x; then eval ${MEVAL}; fi
62
63 install:
64   - travis_wait 30 ./.travis/install.sh
65
66 script:
67   - if ! test x"$MEVAL" = x; then eval ${MEVAL}; fi
68   - travis_wait 115 sleep infinity &
69   - ./.travis/build.sh