We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a09b5f5 commit fc41ea9Copy full SHA for fc41ea9
.travis.yml
@@ -299,6 +299,15 @@ matrix:
299
- ! git grep -q --ignore-case "gnu general public";
300
- ! git grep -q --ignore-case "gnu library general public";
301
302
+ - env:
303
+ - NAME=include_check
304
+ script:
305
+ - echo 'Checking that there are no '#include "mbed.h"' in code where it should not be'
306
+ - |
307
+ ! git grep '^#include\s["'"']mbed.h['"'"]$' -- '*.c' '*.h' '*.cpp' '*.hpp' \
308
+ ':!*platform_mbed.h' ':!*TESTS/*' ':!TEST_APPS/' ':!UNITTESTS/' \
309
+ ':!*tests/*' ':!*targets/*' ':!*TARGET_*' ':!*unsupported/*'
310
+
311
- env:
312
- NAME=psa-autogen
313
script:
0 commit comments