mirror of https://github.com/ARMmbed/mbed-os.git
				
				
				
			Merge pull request #9286 from alekla01/alekla01-include_check-patch-1
travis: Add include_check jobpull/9392/head
						commit
						cf75dc4b43
					
				| 
						 | 
				
			
			@ -306,6 +306,15 @@ matrix:
 | 
			
		|||
        - ! git grep -q --ignore-case "gnu general public";
 | 
			
		||||
        - ! git grep -q --ignore-case "gnu library general public";
 | 
			
		||||
 | 
			
		||||
    - env:
 | 
			
		||||
        - NAME=include_check
 | 
			
		||||
      script:
 | 
			
		||||
        - echo 'Checking that there are no '#include "mbed.h"' in code where it should not be'
 | 
			
		||||
        - |
 | 
			
		||||
         ! git grep '^#include\s["'"']mbed.h['"'"]$' -- '*.c' '*.h' '*.cpp' '*.hpp' \
 | 
			
		||||
             ':!*platform_mbed.h' ':!*TESTS/*' ':!TEST_APPS/' ':!UNITTESTS/' \
 | 
			
		||||
             ':!*tests/*' ':!*targets/*' ':!*TARGET_*' ':!*unsupported/*'
 | 
			
		||||
 | 
			
		||||
    - env:
 | 
			
		||||
        - NAME=psa-autogen
 | 
			
		||||
      script:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue