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 2
2
module . exports = function ( grunt ) {
3
3
// Project configuration.
4
4
var saucekey = null ;
5
- if ( process . env . TRAVIS_PULL_REQUEST && process . env . TRAVIS_SECURE_ENV_VARS ) {
5
+ if ( process . env . TRAVIS_SECURE_ENV_VARS ) {
6
6
saucekey = process . env . saucekey ;
7
7
}
8
8
grunt . initConfig ( {
@@ -84,7 +84,7 @@ module.exports = function(grunt){
84
84
} ) ;
85
85
86
86
// Default task.
87
- grunt . loadNpmTasks ( 'grunt-saucelabs-qunit ' ) ;
87
+ grunt . loadNpmTasks ( 'grunt-saucelabs' ) ;
88
88
grunt . registerTask ( 'build' , 'lint' ) ;
89
89
grunt . registerTask ( "forever" , function ( ) {
90
90
this . async ( ) ;
@@ -115,7 +115,7 @@ module.exports = function(grunt){
115
115
116
116
var testJobs = [ "build" , "server" ] ;
117
117
if ( process . env . CI && process . env . TRAVIS ) {
118
- if ( saucekey !== null ) {
118
+ if ( saucekey !== null && ! process . env . TRAVIS_PULL_REQUEST ) {
119
119
testJobs . push ( "saucelabs-qunit" ) ;
120
120
}
121
121
testJobs . push ( "publish" ) ;
Original file line number Diff line number Diff line change 19
19
"keywords" : [" indexedDB" , " database" , " jquery" ],
20
20
"devDependencies" : {
21
21
"grunt" : " ~0.3.12" ,
22
- "grunt-saucelabs-qunit " : " *" ,
22
+ "grunt-saucelabs" : " *" ,
23
23
"request" : " *"
24
24
},
25
25
"bundleDependencies" : [],
You can’t perform that action at this time.
0 commit comments