File tree 3 files changed +6
-2
lines changed
3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,8 @@ language: node_js
2
2
3
3
sudo : false
4
4
5
+ node_js : stable
6
+
5
7
after_success : npm run deploy
6
8
7
9
env :
Original file line number Diff line number Diff line change @@ -211,10 +211,13 @@ module.exports = function(grunt) {
211
211
} ) ;
212
212
} ) ;
213
213
214
+ grunt . registerTask ( 'jest' , 'Run tests with Jest.' , function ( ) {
215
+ require ( 'jest-cli' ) . runCLI ( this . options ( ) , process . cwd ( ) , this . async ( ) ) ;
216
+ } ) ;
217
+
214
218
grunt . loadNpmTasks ( 'grunt-contrib-jshint' ) ;
215
219
grunt . loadNpmTasks ( 'grunt-contrib-copy' ) ;
216
220
grunt . loadNpmTasks ( 'grunt-contrib-clean' ) ;
217
- grunt . loadNpmTasks ( 'grunt-jest' ) ;
218
221
grunt . loadNpmTasks ( 'grunt-release' ) ;
219
222
220
223
grunt . registerTask ( 'lint' , 'Lint all source javascript' , [ 'jshint' ] ) ;
Original file line number Diff line number Diff line change 55
55
"grunt-contrib-clean" : " 0.7.0" ,
56
56
"grunt-contrib-copy" : " 0.8.2" ,
57
57
"grunt-contrib-jshint" : " 0.11.3" ,
58
- "grunt-jest" : " ^0.2.0" ,
59
58
"grunt-release" : " 0.13.0" ,
60
59
"gulp" : " 3.9.0" ,
61
60
"gulp-concat" : " 2.6.0" ,
You can’t perform that action at this time.
0 commit comments