diff options
| author | Chris Rebert <[email protected]> | 2013-08-06 00:39:35 -0700 |
|---|---|---|
| committer | Chris Rebert <[email protected]> | 2013-08-06 12:25:26 -0700 |
| commit | cdc92e8139a89e93579c5d340ec27fe66e5f6e8e (patch) | |
| tree | 0a69f591901b70d092e3de141fe9db6fda49c27d | |
| parent | 093cda244ae8e65b480282ef18427c45e976abab (diff) | |
| download | bootstrap-cdc92e8139a89e93579c5d340ec27fe66e5f6e8e.tar.xz bootstrap-cdc92e8139a89e93579c5d340ec27fe66e5f6e8e.zip | |
only run browserstack tests in Travis
| -rw-r--r-- | Gruntfile.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Gruntfile.js b/Gruntfile.js index de5ab6334..71a87bdb0 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -129,7 +129,11 @@ module.exports = function(grunt) { // Test task. - grunt.registerTask('test', ['jshint', 'qunit', 'browserstack_runner']); + var testSubtasks = ['jshint', 'qunit']; + if (process.env.TRAVIS) { + testSubtasks.push('browserstack_runner'); + } + grunt.registerTask('test', testSubtasks); // JS distribution task. grunt.registerTask('dist-js', ['concat', 'uglify']); |
