travis: add misra tests to ci
This commit is contained in:
parent
98e3f373e9
commit
1a1bb10511
15
.travis.yml
15
.travis.yml
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue