File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 22module . exports = function ( grunt ) {
33 // Project configuration.
44 var saucekey = null ;
5- if ( process . env . TRAVIS_PULL_REQUEST && process . env . TRAVIS_SECURE_ENV_VARS ) {
5+ if ( process . env . TRAVIS_SECURE_ENV_VARS ) {
66 saucekey = process . env . saucekey ;
77 }
88 grunt . initConfig ( {
@@ -84,7 +84,7 @@ module.exports = function(grunt){
8484 } ) ;
8585
8686 // Default task.
87- grunt . loadNpmTasks ( 'grunt-saucelabs-qunit ' ) ;
87+ grunt . loadNpmTasks ( 'grunt-saucelabs' ) ;
8888 grunt . registerTask ( 'build' , 'lint' ) ;
8989 grunt . registerTask ( "forever" , function ( ) {
9090 this . async ( ) ;
@@ -115,7 +115,7 @@ module.exports = function(grunt){
115115
116116 var testJobs = [ "build" , "server" ] ;
117117 if ( process . env . CI && process . env . TRAVIS ) {
118- if ( saucekey !== null ) {
118+ if ( saucekey !== null && ! process . env . TRAVIS_PULL_REQUEST ) {
119119 testJobs . push ( "saucelabs-qunit" ) ;
120120 }
121121 testJobs . push ( "publish" ) ;
Original file line number Diff line number Diff line change 1919 "keywords" : [" indexedDB" , " database" , " jquery" ],
2020 "devDependencies" : {
2121 "grunt" : " ~0.3.12" ,
22- "grunt-saucelabs-qunit " : " *" ,
22+ "grunt-saucelabs" : " *" ,
2323 "request" : " *"
2424 },
2525 "bundleDependencies" : [],
You can’t perform that action at this time.
0 commit comments