travis: add scan-build in PATH
This commit is contained in:
parent
4240ebd73f
commit
dacd2cb9a9
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue