travis: add misra tests to ci

This commit is contained in:
Matthias Krüger 2018-05-11 23:22:16 +02:00
parent 98e3f373e9
commit 1a1bb10511
1 changed files with 14 additions and 3 deletions

View File

@ -118,8 +118,19 @@ script:
- ./cppcheck test/testpreprocessor.cpp --dump - ./cppcheck test/testpreprocessor.cpp --dump
- xmllint --noout test/testpreprocessor.cpp.dump - xmllint --noout test/testpreprocessor.cpp.dump
# check addons/misra.py # check addons/misra.py
# - ./cppcheck --dump addons/misra-test.c - cd addons/test
# - python addons/misra.py -verify addons/misra-test.c.dump - ../../cppcheck --dump misc-test.cpp
- python3 ../misc.py -verify misc-test.cpp.dump
- ../../cppcheck --dump cert-test.c
- python3 ../cert.py -verify cert-test.c.dump
# these are broken right now.
# uncomment as soon as it gets fixed
# - ../../cppcheck --dump misra-test.c
# - python3 ../misra.py -verify misra-test.c.dump
- ../../cppcheck --dump misra-test.cpp
- python3 ../misra.py -verify misra-test.cpp.dump
- cd ../../
notifications: notifications:
irc: irc: