Debug in-container builds
[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: osx
13       env: HOST=aarch64-apple-darwin13
14     - os: osx
15       env: HOST=x86_64-apple-darwin10
16     - os: linux
17       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"
18     - os: linux
19       env: HOST=sh4-linux-gnu CONFIGURE_OPTIONS=--disable-shared QEMU_LD_PREFIX=/usr/sh4-linux-gnu
20     - os: linux
21       env: HOST=alpha-linux-gnu CONFIGURE_OPTIONS=--disable-shared QEMU_LD_PREFIX=/usr/alpha-linux-gnu
22     - os: linux
23       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
24     - os: linux
25       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
26     - os: linux
27       env: HOST=arm32v7-linux-gnu LIBFFI_TEST_OPTIMIZATION="-O0"
28     - os: linux
29       env: HOST=arm32v7-linux-gnu LIBFFI_TEST_OPTIMIZATION="-O2"
30     - os: linux
31       env: HOST=arm32v7-linux-gnu LIBFFI_TEST_OPTIMIZATION="-O2 -fomit-frame-pointer"
32     - os: linux
33       env: HOST=sparc64-linux-gnu
34     - os: linux
35       env: HOST=aarch64-linux-gnu
36     - os: linux
37       env: HOST=powerpc64le-unknown-linux-gnu
38     - os: linux
39       env: HOST=mips64el-linux-gnu
40     - os: linux
41       compiler: gcc
42       env: HOST=i386-pc-linux-gnu MEVAL='export CC="$CC -m32" && CXX="$CXX -m32"'
43     - os: linux
44       compiler: gcc
45     - os: linux
46       compiler: gcc
47       env: CONFIGURE_OPTIONS=--disable-shared
48     - os: linux
49       compiler: clang
50     - os: linux
51       compiler: clang
52       env: CONFIGURE_OPTIONS=--disable-shared
53     - os: linux
54       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"
55
56 before_install:
57   - if test x"$MEVAL" != x; then eval ${MEVAL}; fi
58
59 install:
60   - travis_wait 30 ./.travis/install.sh
61
62 script:
63   - if ! test x"$MEVAL" = x; then eval ${MEVAL}; fi
64   - travis_wait 45 sleep infinity &
65   - ./.travis/build.sh