.travis.yml 3.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. language: c
  2. notifications:
  3. email: false
  4. before_script:
  5. # travis has changed to 64-bit and we require 32-bit compatibility libraries
  6. - sudo apt-get update
  7. - "sudo apt-get -qq install libc6:i386 libgcc1:i386 gcc-4.6-base:i386 libstdc++5:i386 libstdc++6:i386 || true"
  8. - "[ $RTT_TOOL_CHAIN = 'sourcery-arm' ] && curl -s https://sourcery.mentor.com/public/gnu_toolchain/arm-none-eabi/arm-2012.09-63-arm-none-eabi-i686-pc-linux-gnu.tar.bz2 | sudo tar xjf - -C /opt && export RTT_EXEC_PATH=/opt/arm-2012.09/bin && /opt/arm-2012.09/bin/arm-none-eabi-gcc --version || true"
  9. - "[ $RTT_TOOL_CHAIN = 'sourcery-mips' ] && curl -s https://sourcery.mentor.com/public/gnu_toolchain/mips-sde-elf/mips-2012.09-98-mips-sde-elf-i686-pc-linux-gnu.tar.bz2 | sudo tar xjf - -C /opt && export RTT_EXEC_PATH=/opt/mips-2012.09/bin && /opt/mips-2012.09/bin/mips-sde-elf-gcc --version || true"
  10. - "[ $RTT_TOOL_CHAIN = 'sourcery-ppc' ] && curl -s https://sourcery.mentor.com/public/gnu_toolchain/powerpc-eabi/freescale-2011.03-39-powerpc-eabi-i686-pc-linux-gnu.tar.bz2 | sudo tar xjf - -C /opt && export RTT_EXEC_PATH=/opt/freescale-2011.03/bin && /opt/freescale-2011.03/bin/powerpc-eabi-gcc --version || true"
  11. - "[ $RTT_TOOL_CHAIN = 'atmel-avr32' ] && curl -s http://www.atmel.com/images/avr32-gnu-toolchain-3.4.1.348-linux.any.x86.tar.gz | sudo tar xzf - -C /opt && export RTT_EXEC_PATH=/opt/avr32-gnu-toolchain-linux_x86/bin && /opt/avr32-gnu-toolchain-linux_x86/bin/avr32-gcc --version && curl -sO http://www.atmel.com/images/avr-headers-3.2.3.970.zip && unzip -qq avr-headers-3.2.3.970.zip -d bsp/$RTT_BSP || true"
  12. - export RTT_ROOT=`pwd`
  13. - export RTT_CC='gcc'
  14. script:
  15. - scons -C bsp/$RTT_BSP
  16. env:
  17. - RTT_BSP='at91sam9260' RTT_TOOL_CHAIN='sourcery-arm'
  18. - RTT_BSP='avr32uc3b0' RTT_TOOL_CHAIN='atmel-avr32'
  19. # - RTT_BSP='bf533' # no scons
  20. - RTT_BSP='dev3210' RTT_TOOL_CHAIN='sourcery-mips'
  21. - RTT_BSP='efm32' RTT_TOOL_CHAIN='sourcery-arm'
  22. - RTT_BSP='jz47xx' RTT_TOOL_CHAIN='sourcery-mips'
  23. - RTT_BSP='lm3s8962' RTT_TOOL_CHAIN='sourcery-arm'
  24. - RTT_BSP='lm3s9b9x' RTT_TOOL_CHAIN='sourcery-arm'
  25. - RTT_BSP='lm4f232' RTT_TOOL_CHAIN='sourcery-arm'
  26. # - RTT_BSP='lpc1114' # no scons
  27. # - RTT_BSP='lpc122x' # no scons
  28. - RTT_BSP='lpc176x' RTT_TOOL_CHAIN='sourcery-arm'
  29. - RTT_BSP='lpc178x' RTT_TOOL_CHAIN='sourcery-arm'
  30. - RTT_BSP='lpc2148' RTT_TOOL_CHAIN='sourcery-arm'
  31. - RTT_BSP='lpc2478' RTT_TOOL_CHAIN='sourcery-arm'
  32. - RTT_BSP='ls1bdev' RTT_TOOL_CHAIN='sourcery-mips'
  33. # - RTT_BSP='m16c62p' # m32c
  34. - RTT_BSP='mb9bf500r' RTT_TOOL_CHAIN='sourcery-arm'
  35. - RTT_BSP='mb9bf506r' RTT_TOOL_CHAIN='sourcery-arm'
  36. # - RTT_BSP='microblaze' # no scons
  37. - RTT_BSP='mini2440' RTT_TOOL_CHAIN='sourcery-arm'
  38. # - RTT_BSP='mini4020' # no scons
  39. # - RTT_BSP='nios_ii' # no scons
  40. # - RTT_BSP='nuc140' # no scons
  41. # - RTT_BSP='pic32ethernet' # no scons
  42. # - RTT_BSP='sam7s' # no scons
  43. - RTT_BSP='sam7x' RTT_TOOL_CHAIN='sourcery-arm'
  44. # - RTT_BSP='simlinux' # linux
  45. # - RTT_BSP='simulator' # x86
  46. - RTT_BSP='stm32f0x' RTT_TOOL_CHAIN='sourcery-arm'
  47. - RTT_BSP='stm32f107' RTT_TOOL_CHAIN='sourcery-arm'
  48. - RTT_BSP='stm32f10x' RTT_TOOL_CHAIN='sourcery-arm'
  49. - RTT_BSP='stm32f20x' RTT_TOOL_CHAIN='sourcery-arm'
  50. - RTT_BSP='stm32f40x' RTT_TOOL_CHAIN='sourcery-arm'
  51. - RTT_BSP='taihu' RTT_TOOL_CHAIN='sourcery-ppc'
  52. # - RTT_BSP='upd70f3454' # iar
  53. # - RTT_BSP='wh44b0' # no scons
  54. # - RTT_BSP='x86' # x86
  55. # - RTT_BSP='xplorer4330' # no scons