Skip to content

Commit c9f5c55

Browse files
author
Parashuram
committed
Disable Saucelabs qunit for travis on pull requests
1 parent 36bec30 commit c9f5c55

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

grunt.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -114,14 +114,13 @@ module.exports = function(grunt){
114114
});
115115

116116
var testJobs = ["build", "server"];
117-
if (saucekey !== null) {
118-
testJobs.push("saucelabs-qunit");
119-
}
120117
if (process.env.CI && process.env.TRAVIS) {
118+
if (saucekey !== null) {
119+
testJobs.push("saucelabs-qunit");
120+
}
121121
testJobs.push("publish");
122122
}
123123

124124
grunt.registerTask('test', testJobs.join(" "));
125-
126125
grunt.registerTask('default', 'build');
127126
};

0 commit comments

Comments
 (0)