Skip to content

Commit

Permalink
Fail the build if flawfinder reports an issue (#51).
Browse files Browse the repository at this point in the history
  • Loading branch information
offa committed Mar 12, 2020
1 parent e12828e commit 3d24fd0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions script/ci_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,9 @@ done

if [[ "${FLAWFINDER_ANALYSIS}" == true ]]
then
pip install flawfinder
flawfinder src include
apt-get install -y --no-install-recommends python3-pip
pip3 install flawfinder
flawfinder --error-level=0 src include
exit
fi

Expand Down

0 comments on commit 3d24fd0

Please sign in to comment.