From b5c9d6d07eda252452a600f7183409131ecefe09 Mon Sep 17 00:00:00 2001 From: Rogerz Zhang Date: Sun, 17 Mar 2013 14:08:31 +0800 Subject: [PATCH] Fix travis building error --- .travis.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index caa95cecf..5504efb3a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,19 +1,18 @@ language: c -install: - - mkdir ~/toolchain - - "[ $RTT_TOOL_CHAIN = 'sourcery-arm' ] && curl -s https://sourcery.mentor.com/public/gnu_toolchain/arm-none-eabi/arm-2011.03-42-arm-none-eabi-i686-pc-linux-gnu.tar.bz2 | tar xjf - -C ~/toolchain && export RTT_EXEC_PATH=~/toolchain/arm-2011.03/bin || true" +notifications: + email: false before_script: +# travis has changed to 64-bit and we require 32-bit compatibility libraries + - "sudo apt-get -qq install libc6:i386 libgcc1:i386 gcc-4.6-base:i386 libstdc++5:i386 libstdc++6:i386 || true" + - "[ $RTT_TOOL_CHAIN = 'sourcery-arm' ] && curl -s https://sourcery.mentor.com/public/gnu_toolchain/arm-none-eabi/arm-2011.03-42-arm-none-eabi-i686-pc-linux-gnu.tar.bz2 | tar xjf - -C /tmp && export RTT_EXEC_PATH=/tmp/arm-2011.03/bin && /tmp/arm-2011.03/bin/arm-none-eabi-gcc --version || true" - export RTT_ROOT=`pwd` - export RTT_CC='gcc' script: - scons -C bsp/$RTT_BSP -notifications: - email: false - env: - RTT_BSP='at91sam9260' RTT_TOOL_CHAIN='sourcery-arm' # - RTT_BSP='avr32uc3b0'