diff --git a/ci/cppcheck-misra.sh b/ci/cppcheck-misra.sh index 0500b2eee79ccd63fd1fbbcb6933f6ac319514b3..16cc6fca23a21f9dab278955cd1f944eeb392b3c 100755 --- a/ci/cppcheck-misra.sh +++ b/ci/cppcheck-misra.sh @@ -18,7 +18,7 @@ find inc/ src/ -type f \( -iname "*.cpp" -or -iname "*.hpp" \) | xargs cppcheck # run the MISRA checks against the dumps and send the results to a file echo -e "\u001b[34;1mRunning MISRA C(2012) rule compliance tests...\u001b[0m" -find inc/ src/ -type f -name "*.dump" | xargs python3 ci/misra.py >> ci/report.msr 2>&1 +find inc/ src/ -type f -name "*.dump" | xargs python3.6 ci/misra.py >> ci/report.msr 2>&1 # pre-process the generated report to remove all useless strings echo -e "\u001b[34;1mPre-processing report...\u001b[0m" diff --git a/ci/summarizer.py b/ci/summarizer.py index db0c04e6a4cd4618c8d0014e55541f175da3e5d6..7bcd5ea4b4992adf96c64010d61862e758e9cf3c 100755 --- a/ci/summarizer.py +++ b/ci/summarizer.py @@ -1,4 +1,4 @@ -#!/bin/env python3 +#!/bin/env python3.6 from sys import argv from collections import Counter