diff options
| author | Chris Rebert <[email protected]> | 2013-08-06 19:54:15 -0700 |
|---|---|---|
| committer | Chris Rebert <[email protected]> | 2013-08-06 20:14:36 -0700 |
| commit | fd3c4cab73e26af523ba87f49ac66b00ff27cbaa (patch) | |
| tree | 5ff52cd7677d2da1a2ff391c1e787ff0fa7e6cd5 /Gruntfile.js | |
| parent | 41bdd1a4823feb8b46b2fccfeec3e9c5057a0665 (diff) | |
| download | bootstrap-fd3c4cab73e26af523ba87f49ac66b00ff27cbaa.tar.xz bootstrap-fd3c4cab73e26af523ba87f49ac66b00ff27cbaa.zip | |
disable BrowserStack for folks w/o their own key who are making PRs
Diffstat (limited to 'Gruntfile.js')
| -rw-r--r-- | Gruntfile.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Gruntfile.js b/Gruntfile.js index 71a87bdb0..7f87fd6e9 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -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); |
