Move nested_struct3 test to closures directory
[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     - os: linux
13       env: HOST=or1k-elf RUNTESTFLAGS="--target_board or1k-sim" DEJAGNU="/opt/.travis/site.exp"
14     - os: linux
15       env: HOST=m32r-elf RUNTESTFLAGS="--target_board m32r-sim" DEJAGNU="/opt/.travis/site.exp"
16     - os: linux
17       env: HOST=bfin-elf RUNTESTFLAGS="--target_board bfin-sim" DEJAGNU="/opt/.travis/site.exp"
18 # This configuration is still using the native x86 toolchain?
19 #    - os: osx
20 #      env: HOST=aarch64-apple-darwin13
21     - os: osx
22       env: HOST=x86_64-apple-darwin10
23     - os: linux
24       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"
25     - os: linux
26       env: HOST=sh4-linux-gnu CONFIGURE_OPTIONS=--disable-shared QEMU_LD_PREFIX=/usr/sh4-linux-gnu
27     - os: linux
28       env: HOST=alpha-linux-gnu CONFIGURE_OPTIONS=--disable-shared QEMU_LD_PREFIX=/usr/alpha-linux-gnu
29     - os: linux
30       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
31     - os: linux
32       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
33     - os: linux
34       env: HOST=arm32v7-linux-gnu LIBFFI_TEST_OPTIMIZATION="-O0"
35     - os: linux
36       env: HOST=arm32v7-linux-gnu LIBFFI_TEST_OPTIMIZATION="-O2"
37     - os: linux
38       env: HOST=arm32v7-linux-gnu LIBFFI_TEST_OPTIMIZATION="-O2 -fomit-frame-pointer"
39 # The sparc64 linux system in the GCC compile farm is non-responsive.
40 #    - os: linux
41 #      env: HOST=sparc64-linux-gnu
42 # Having problems getting logs for this one...
43 #    - os: linux
44 #      env: HOST=powerpc64le-unknown-linux-gnu
45 #    - os: linux
46 #      env: HOST=aarch64-linux-gnu
47 # The mips64 linux system in the GCC compile farm is not allowing logins
48 #    - os: linux
49 #      env: HOST=mips64el-linux-gnu
50     - os: linux
51       compiler: gcc
52       env: HOST=i386-pc-linux-gnu MEVAL='export CC="$CC -m32" && CXX="$CXX -m32"'
53     - os: linux
54       compiler: gcc
55     - os: linux
56       compiler: gcc
57       env: CONFIGURE_OPTIONS=--disable-shared
58     - os: linux
59       compiler: clang
60     - os: linux
61       compiler: clang
62       env: CONFIGURE_OPTIONS=--disable-shared
63     - os: linux
64       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"
65
66 before_install:
67   - if test x"$MEVAL" != x; then eval ${MEVAL}; fi
68
69 install:
70   - travis_wait 30 ./.travis/install.sh
71
72 script:
73   - if ! test x"$MEVAL" = x; then eval ${MEVAL}; fi
74   - travis_wait 115 sleep infinity &
75   - ./.travis/build.sh