File tree 3 files changed +14
-1
lines changed
3 files changed +14
-1
lines changed Original file line number Diff line number Diff line change
1
+ language : node_js
2
+ node_js :
3
+ - " 0.12"
4
+ before_script :
5
+ - npm install -g grunt-cli
Original file line number Diff line number Diff line change @@ -22,7 +22,12 @@ grunt.initConfig({
22
22
all : "resources/**"
23
23
} ,
24
24
wordpress : ( function ( ) {
25
- var config = require ( "./config" ) ;
25
+
26
+ // There's no config for CI, but we don't need one for basic testing
27
+ var config = { } ;
28
+ try {
29
+ config = require ( "./config" ) ;
30
+ } catch ( error ) { }
26
31
config . dir = "dist/wordpress" ;
27
32
return config ;
28
33
} ) ( )
Original file line number Diff line number Diff line change 20
20
"url" : " https://github.com/jquery/api.jquery.com/blob/master/LICENSE.txt"
21
21
}
22
22
],
23
+ "scripts" : {
24
+ "test" : " grunt lint"
25
+ },
23
26
"dependencies" : {
24
27
"grunt" : " 0.4.5" ,
25
28
"grunt-jquery-content" : " 2.0.0"
You can’t perform that action at this time.
0 commit comments