Skip to content

Commit 6491df2

Browse files
committed
Changed npm module - saucelabs-qunit to saucelabs
1 parent c9f5c55 commit 6491df2

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

grunt.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
module.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");

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"keywords": ["indexedDB", "database", "jquery"],
2020
"devDependencies": {
2121
"grunt": "~0.3.12",
22-
"grunt-saucelabs-qunit": "*",
22+
"grunt-saucelabs": "*",
2323
"request" : "*"
2424
},
2525
"bundleDependencies": [],

0 commit comments

Comments
 (0)