You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

16 lines
317 B

#!/bin/bash
function linux () {
cd ci || exit
sudo docker run -it \
-v "${PWD}/../:/jucipp/" \
"cppit/jucipp:${distribution}" \
sh -c "cd jucipp/build && scan-build -o ../html_${distribution} --status-bugs make"
}
#TODO should do static analysis on build
function osx () {
true
}
$TRAVIS_OS_NAME