.travis.yml 3.6 KB
Newer Older
R
Rogerz Zhang 已提交
1 2
language: c

R
Rogerz Zhang 已提交
3 4
notifications:
  email: false
R
Rogerz Zhang 已提交
5 6

before_script:
R
Rogerz Zhang 已提交
7
# travis has changed to 64-bit and we require 32-bit compatibility libraries
B
Bernard Xiong 已提交
8
  - sudo apt-get update
9
  - "sudo apt-get -qq install clang gcc-multilib libc6:i386 libgcc1:i386 gcc-4.6-base:i386 libstdc++5:i386 libstdc++6:i386 libsdl-dev || true"
R
Rogerz Zhang 已提交
10
  - "[ $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"
R
Rogerz Zhang 已提交
11
  - "[ $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"
R
Rogerz Zhang 已提交
12
  - "[ $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"
13
  - "[ $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"
R
Rogerz Zhang 已提交
14
  - export RTT_ROOT=`pwd`
15
  - "[ x$RTT_CC == x ] && export RTT_CC='gcc' || true"
G
Grissiom 已提交
16 17
  - git clone --depth 1 https://github.com/RT-Thread/RTGUI.git $HOME/RTGUI
  - export RTT_RTGUI=$HOME/RTGUI/components/rtgui
R
Rogerz Zhang 已提交
18 19

script:
G
Grissiom 已提交
20
  - scons -C bsp/$RTT_BSP --verbose
R
Rogerz Zhang 已提交
21 22

env:
23
  - RTT_BSP='simulator' RTT_CC='clang-analyze'
R
Rogerz Zhang 已提交
24
  - RTT_BSP='at91sam9260' RTT_TOOL_CHAIN='sourcery-arm' 
25
  - RTT_BSP='avr32uc3b0' RTT_TOOL_CHAIN='atmel-avr32'
R
Rogerz Zhang 已提交
26 27
#  - RTT_BSP='bf533' # no scons
  - RTT_BSP='dev3210' RTT_TOOL_CHAIN='sourcery-mips'
R
Rogerz Zhang 已提交
28
  - RTT_BSP='efm32' RTT_TOOL_CHAIN='sourcery-arm' 
R
Rogerz Zhang 已提交
29
  - RTT_BSP='jz47xx' RTT_TOOL_CHAIN='sourcery-mips'
R
Rogerz Zhang 已提交
30 31 32
  - RTT_BSP='lm3s8962' RTT_TOOL_CHAIN='sourcery-arm' 
  - RTT_BSP='lm3s9b9x' RTT_TOOL_CHAIN='sourcery-arm' 
  - RTT_BSP='lm4f232' RTT_TOOL_CHAIN='sourcery-arm' 
R
Rogerz Zhang 已提交
33 34
#  - RTT_BSP='lpc1114' # no scons
#  - RTT_BSP='lpc122x' # no scons
R
Rogerz Zhang 已提交
35 36 37 38
  - RTT_BSP='lpc176x' RTT_TOOL_CHAIN='sourcery-arm' 
  - RTT_BSP='lpc178x' RTT_TOOL_CHAIN='sourcery-arm' 
  - RTT_BSP='lpc2148' RTT_TOOL_CHAIN='sourcery-arm' 
  - RTT_BSP='lpc2478' RTT_TOOL_CHAIN='sourcery-arm' 
R
Rogerz Zhang 已提交
39 40
  - RTT_BSP='ls1bdev' RTT_TOOL_CHAIN='sourcery-mips'
#  - RTT_BSP='m16c62p' # m32c
R
Rogerz Zhang 已提交
41 42
  - RTT_BSP='mb9bf500r' RTT_TOOL_CHAIN='sourcery-arm' 
  - RTT_BSP='mb9bf506r' RTT_TOOL_CHAIN='sourcery-arm' 
R
Rogerz Zhang 已提交
43
#  - RTT_BSP='microblaze' # no scons
R
Rogerz Zhang 已提交
44
  - RTT_BSP='mini2440' RTT_TOOL_CHAIN='sourcery-arm' 
R
Rogerz Zhang 已提交
45
#  - RTT_BSP='mini4020' # no scons
R
Rogerz Zhang 已提交
46 47 48
#  - RTT_BSP='nios_ii' # no scons
#  - RTT_BSP='nuc140' # no scons
#  - RTT_BSP='pic32ethernet' # no scons
R
Rogerz Zhang 已提交
49 50
#  - RTT_BSP='sam7s' # no scons
  - RTT_BSP='sam7x' RTT_TOOL_CHAIN='sourcery-arm'
R
Rogerz Zhang 已提交
51
#  - RTT_BSP='simlinux' # linux
R
Rogerz Zhang 已提交
52
#  - RTT_BSP='simulator' # x86
R
Rogerz Zhang 已提交
53 54 55 56 57
  - RTT_BSP='stm32f0x' RTT_TOOL_CHAIN='sourcery-arm' 
  - RTT_BSP='stm32f107' RTT_TOOL_CHAIN='sourcery-arm' 
  - RTT_BSP='stm32f10x' RTT_TOOL_CHAIN='sourcery-arm' 
  - RTT_BSP='stm32f20x' RTT_TOOL_CHAIN='sourcery-arm' 
  - RTT_BSP='stm32f40x' RTT_TOOL_CHAIN='sourcery-arm' 
R
Rogerz Zhang 已提交
58
  - RTT_BSP='taihu' RTT_TOOL_CHAIN='sourcery-ppc'
R
Rogerz Zhang 已提交
59 60
#  - RTT_BSP='upd70f3454' # iar
#  - RTT_BSP='wh44b0' # no scons
R
Rogerz Zhang 已提交
61
#  - RTT_BSP='x86' # x86
R
Rogerz Zhang 已提交
62
#  - RTT_BSP='xplorer4330' # no scons