[analyzer] Don’t try to open HTML after run on Jenkins CI.

This commit is contained in:
Eloy Durán
2013-11-13 17:59:37 +01:00
parent b3864c0cfc
commit 4f8266d8a2

View File

@@ -62,7 +62,7 @@ task :build => targets.map { |x| "build:#{x}" }
desc "Run the clang static analyzer against the source"
task :analyze do
options = []
options << '--view'
options << '--view' unless ENV['JENKINS_URL']
options << '-disable-checker osx.cocoa.RetainCount'
options << '--use-analyzer=/usr/bin/clang'
options << '--use-cc=/usr/bin/clang --use-c++=/usr/bin/clang++'