-
Notifications
You must be signed in to change notification settings - Fork 217
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Fix #295, #298, #305, #307, #308, #313, #314, #316, #321, #323 Reviewed and approved at 2019-12-18 CCB
- Loading branch information
Showing
141 changed files
with
2,224 additions
and
7,832 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
dist: bionic | ||
sudo: required | ||
language: | ||
- c | ||
compiler: | ||
- gcc | ||
addons: | ||
apt: | ||
sources: | ||
- ubuntu-toolchain-r-test | ||
packages: | ||
- cmake | ||
|
||
before_install: | ||
- sudo apt-get install cppcheck | ||
|
||
script: | ||
# Check versions | ||
- cppcheck --version | ||
|
||
#cppcheck flight software osal/src/bsp, osal/src/os | ||
- cppcheck --force --inline-suppr --std=c99 --language=c --error-exitcode=1 --enable=warning,performance,portability,style --suppress=variableScope --inconclusive src/bsp src/os 2>cppcheck_flight_osal.txt | ||
- | | ||
if [[ -s cppcheck_flight_osal.txt ]]; then | ||
echo "You must fix cppcheck errors before submitting a pull request" | ||
echo "" | ||
cat cppcheck_flight_osal.txt | ||
exit -1 | ||
fi | ||
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.