travis: add scan-build in PATH

This commit is contained in:
Grissiom 2013-09-07 17:22:45 +08:00
parent 4240ebd73f
commit dacd2cb9a9
2 changed files with 3 additions and 3 deletions

View File

@ -17,10 +17,10 @@ before_script:
- export RTT_RTGUI=$HOME/RTGUI/components/rtgui
script:
- scons -C bsp/$RTT_BSP --verbose
- scons -C bsp/$RTT_BSP
env:
- RTT_BSP='simulator' RTT_CC='clang-analyze'
- RTT_BSP='simulator' RTT_CC='clang-analyze' RTT_EXEC_PATH=/usr/share/clang/scan-build
- RTT_BSP='at91sam9260' RTT_TOOL_CHAIN='sourcery-arm'
- RTT_BSP='avr32uc3b0' RTT_TOOL_CHAIN='atmel-avr32'
# - RTT_BSP='bf533' # no scons

View File

@ -60,7 +60,7 @@ def generate(env):
env.AppendENVPath('PATH', rtconfig.EXEC_PATH)
def exists(env):
return env.Detect(['clang', 'clang++'])
return env.Detect(['ccc-analyzer', 'c++-analyzer'])
# Local Variables:
# tab-width:4