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