Skip to content
Snippets Groups Projects
Commit a832989c authored by Hinnerk van Bruinehsen's avatar Hinnerk van Bruinehsen
Browse files

Merge pull request #1432 from LudwigOrtmann/cppcheck

tests: enable cppcheck for PR in travis
parents 013e1bce 811f07ab
No related branches found
No related tags found
No related merge requests found
...@@ -24,6 +24,7 @@ install: ...@@ -24,6 +24,7 @@ install:
- sudo apt-get install qemu-system-x86 python3 - sudo apt-get install qemu-system-x86 python3
- sudo apt-get install g++-multilib - sudo apt-get install g++-multilib
- sudo apt-get install gcc-avr binutils-avr avr-libc - sudo apt-get install gcc-avr binutils-avr avr-libc
- sudo apt-get install cppcheck
- git config --global user.email "travis@example.com" - git config --global user.email "travis@example.com"
- git config --global user.name "Travis CI" - git config --global user.name "Travis CI"
...@@ -39,6 +40,10 @@ script: ...@@ -39,6 +40,10 @@ script:
- make -C ./tests/unittests test BOARD=native - make -C ./tests/unittests test BOARD=native
- make -C ./tests/unittests test BOARD=qemu-i386 - make -C ./tests/unittests test BOARD=qemu-i386
- ./dist/tools/licenses/check.sh master - ./dist/tools/licenses/check.sh master
# TODO:
# Remove the --error-exitcode=0` when all warnings of cppcheck have been
# taken care of in master.
- ./dist/tools/cppcheck/check.sh master --error-exitcode=0
notifications: notifications:
email: false email: false
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment