Fix travis building error
This commit is contained in:
parent
ce612157da
commit
b5c9d6d07e
11
.travis.yml
11
.travis.yml
|
@ -1,19 +1,18 @@
|
||||||
language: c
|
language: c
|
||||||
|
|
||||||
install:
|
notifications:
|
||||||
- mkdir ~/toolchain
|
email: false
|
||||||
- "[ $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"
|
|
||||||
|
|
||||||
before_script:
|
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_ROOT=`pwd`
|
||||||
- export RTT_CC='gcc'
|
- export RTT_CC='gcc'
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- scons -C bsp/$RTT_BSP
|
- scons -C bsp/$RTT_BSP
|
||||||
|
|
||||||
notifications:
|
|
||||||
email: false
|
|
||||||
|
|
||||||
env:
|
env:
|
||||||
- RTT_BSP='at91sam9260' RTT_TOOL_CHAIN='sourcery-arm'
|
- RTT_BSP='at91sam9260' RTT_TOOL_CHAIN='sourcery-arm'
|
||||||
# - RTT_BSP='avr32uc3b0'
|
# - RTT_BSP='avr32uc3b0'
|
||||||
|
|
Loading…
Reference in New Issue