mirror of
				https://github.com/node-red/node-red.git
				synced 2025-03-01 10:36:34 +00:00 
			
		
		
		
	Disable nyc coverage reporting on older node versions
This commit is contained in:
		| @@ -11,5 +11,11 @@ matrix: | ||||
|       before_script: | ||||
|         - npm install -g coveralls | ||||
|     - node_js: "12" | ||||
|       script: | ||||
|         - ./node_modules/.bin/grunt no-coverage | ||||
|     - node_js: "10" | ||||
|       script: | ||||
|         - ./node_modules/.bin/grunt no-coverage | ||||
|     - node_js: "8" | ||||
|       script: | ||||
|         - ./node_modules/.bin/grunt no-coverage | ||||
|   | ||||
| @@ -623,6 +623,11 @@ module.exports = function(grunt) { | ||||
|         'Builds editor content then runs code style checks and unit tests on all components', | ||||
|         ['build','verifyPackageDependencies','jshint:editor','nyc:all']); | ||||
|  | ||||
|     grunt.registerTask('no-coverage', | ||||
|         'Builds editor content then runs code style checks and unit tests on all components without code coverage', | ||||
|         ['build','verifyPackageDependencies','jshint:editor','simplemocha:all']); | ||||
|  | ||||
|  | ||||
|     grunt.registerTask('test-core', | ||||
|         'Runs code style check and unit tests on core runtime code', | ||||
|         ['build','nyc:core']); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user