File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree 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({
2222 all : "resources/**"
2323 } ,
2424 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 ) { }
2631 config . dir = "dist/wordpress" ;
2732 return config ;
2833 } ) ( )
Original file line number Diff line number Diff line change 2020 "url" : " https://github.com/jquery/api.jquery.com/blob/master/LICENSE.txt"
2121 }
2222 ],
23+ "scripts" : {
24+ "test" : " grunt lint"
25+ },
2326 "dependencies" : {
2427 "grunt" : " 0.4.5" ,
2528 "grunt-jquery-content" : " 2.0.0"
You can’t perform that action at this time.
0 commit comments