This commit is contained in:
Anthony Green
2018-03-13 23:07:10 -04:00
parent 52a364d769
commit 9d5bd29d8d

View File

@@ -15,19 +15,18 @@ matrix:
include: include:
- os: linux - os: linux
compiler: gcc compiler: gcc
env: HOST=i386-pc-linux-gnu env: HOST=i386-pc-linux-gnu MEVAL='export CC="$CC -m32" && CXX="$CXX -m32"'
- os: linux - os: linux
env: HOST=moxie-elf PATH=/opt/moxielogic/bin:$PATH env: HOST=moxie-elf MEVAL='export PATH=/opt/moxielogic/bin:$PATH && LDFLAGS="-Tsim.ld" && CC=moxie-elf-gcc && CXX=moxie-elf-g++ && RUNTESTFLAGS="--target_board moxie-sim" && DEJAGNU="$TRAVIS_BUILD_DIR"/.travis'
install: install:
- ./.travis/install.sh - ./.travis/install.sh
script: script:
- ./autogen.sh - ./autogen.sh
- if test x"$HOST" = x"i386-pc-linux-gnu"; then CC="$CC -m32"; CXX="$CXX -m32"; fi - if test x"$MEVAL" != x; then eval ${MEVAL}; fi
- if test x"$HOST" = x"moxie-unknown-elf"; then LDFLAGS="-Tsim.ld"; RUNTESTFLAGS="--target_board moxie-sim"; fi
- ./configure ${HOST+--host=$HOST} ${CONFIGURE_OPTIONS} - ./configure ${HOST+--host=$HOST} ${CONFIGURE_OPTIONS}
- make - make
- make dist - make dist
- ${DEJAGNU+DEJAGNU="$TRAVIS_BUILD_DIR"/.travis} make check - make check
- cat */testsuite/libffi.log - cat */testsuite/libffi.log