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.
2 parents 1568be0 + fc41ea9 commit cf75dc4Copy full SHA for cf75dc4
.travis.yml
@@ -306,6 +306,15 @@ matrix:
306
- ! git grep -q --ignore-case "gnu general public";
307
- ! git grep -q --ignore-case "gnu library general public";
308
309
+ - env:
310
+ - NAME=include_check
311
+ script:
312
+ - echo 'Checking that there are no '#include "mbed.h"' in code where it should not be'
313
+ - |
314
+ ! git grep '^#include\s["'"']mbed.h['"'"]$' -- '*.c' '*.h' '*.cpp' '*.hpp' \
315
+ ':!*platform_mbed.h' ':!*TESTS/*' ':!TEST_APPS/' ':!UNITTESTS/' \
316
+ ':!*tests/*' ':!*targets/*' ':!*TARGET_*' ':!*unsupported/*'
317
+
318
- env:
319
- NAME=psa-autogen
320
script:
0 commit comments