blob: 34c09a0cfda2257534b718c48d00b368c1f63268 [file] [log] [blame]
---
sudo: required
language: cpp
os:
- linux
compiler:
- gcc
- clang
env:
- CONFIGURE_OPTIONS=--disable-shared
- CONFIGURE_OPTIONS=
matrix:
include:
- os: linux
compiler: gcc
env: HOST=i386-pc-linux-gnu MEVAL='export CC="$CC -m32" && CXX="$CXX -m32"'
- os: linux
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"
before_install:
- if test x"$MEVAL" != x; then eval ${MEVAL}; fi
install:
- ./.travis/install.sh
script:
- if ! test x"$MEVAL" = x; then eval ${MEVAL}; fi
- ./autogen.sh
- ls -l m4
- cat ./configure
- ./configure ${HOST+--host=$HOST} ${CONFIGURE_OPTIONS}
- make
- make dist
- make check RUNTESTFLAGS="-a $RUNTESTFLAGS"
- cat */testsuite/libffi.log