2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-08 17:22:31 +03:00

disable BrowserStack for folks w/o their own key who are making PRs

This commit is contained in:
Chris Rebert
2013-08-06 19:54:15 -07:00
parent 41bdd1a482
commit fd3c4cab73
2 changed files with 6 additions and 1 deletions
+5 -1
View File
@@ -130,8 +130,12 @@ module.exports = function(grunt) {
// Test task.
var testSubtasks = ['jshint', 'qunit'];
// Only run BrowserStack tests under Travis
if (process.env.TRAVIS) {
testSubtasks.push('browserstack_runner');
// Only run BrowserStack tests if you are twbs or have your own BrowserStack key
if (process.env.TRAVIS_REPO_SLUG === 'twbs/bootstrap' || process.env.TWBS_HAVE_OWN_BROWSERSTACK_KEY) {
testSubtasks.push('browserstack_runner');
}
}
grunt.registerTask('test', testSubtasks);