bfbe34e605d8c6666ec32a09de50747144d495b4
[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 # This currently exceeds the 50min timeout on travis-ci      
18 #    - os: linux
19 #      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"
20     - os: linux
21       env: HOST=sh4-linux-gnu CONFIGURE_OPTIONS=--disable-shared QEMU_LD_PREFIX=/usr/sh4-linux-gnu
22     - os: linux
23       env: HOST=alpha-linux-gnu CONFIGURE_OPTIONS=--disable-shared QEMU_LD_PREFIX=/usr/alpha-linux-gnu
24     - os: linux
25       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
26     - os: linux
27       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
28     - os: linux
29       env: HOST=arm32v7-linux-gnu LIBFFI_TEST_OPTIMIZATION="-O0"
30     - os: linux
31       env: HOST=arm32v7-linux-gnu LIBFFI_TEST_OPTIMIZATION="-O2"
32     - os: linux
33       env: HOST=arm32v7-linux-gnu LIBFFI_TEST_OPTIMIZATION="-O2 -fomit-frame-pointer"
34 # The sparc64 linux system in the GCC compile farm is non-responsive.
35 #    - os: linux
36 #      env: HOST=sparc64-linux-gnu
37 # Having problems getting logs for this one...
38 #    - os: linux
39 #      env: HOST=powerpc64le-unknown-linux-gnu
40 #    - os: linux
41 #      env: HOST=aarch64-linux-gnu
42 # The mips64 linux system in the GCC compile farm is not allowing logins
43 #    - os: linux
44 #      env: HOST=mips64el-linux-gnu
45     - os: linux
46       compiler: gcc
47       env: HOST=i386-pc-linux-gnu MEVAL='export CC="$CC -m32" && CXX="$CXX -m32"'
48     - os: linux
49       compiler: gcc
50     - os: linux
51       compiler: gcc
52       env: CONFIGURE_OPTIONS=--disable-shared
53     - os: linux
54       compiler: clang
55     - os: linux
56       compiler: clang
57       env: CONFIGURE_OPTIONS=--disable-shared
58     - os: linux
59       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"
60
61 before_install:
62   - if test x"$MEVAL" != x; then eval ${MEVAL}; fi
63
64 install:
65   - travis_wait 30 ./.travis/install.sh
66
67 script:
68   - if ! test x"$MEVAL" = x; then eval ${MEVAL}; fi
69   - travis_wait 115 sleep infinity &
70   - ./.travis/build.sh