From 0ba8885d895c8d91c1e1ae5edd4cd69712703e33 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Fri, 14 Apr 2017 12:44:24 +0200 Subject: [PATCH] Travis: Add misra test --- .travis.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.travis.yml b/.travis.yml index 40dbaa440..87163e88a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -92,6 +92,9 @@ script: # check --dump - ./cppcheck test/testpreprocessor.cpp --dump - xmllint --noout test/testpreprocessor.cpp.dump +# check addons/misra.py + - ./cppcheck --dump addons/misra-test.c + - python addons/misra.py -verify addons/misra-test.c.dump # check if Makefile needs to be regenerated - git clean -dfx - make dmake