mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
only run browserstack tests in Travis
This commit is contained in:
parent
093cda244a
commit
cdc92e8139
1 changed files with 5 additions and 1 deletions
|
@ -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']);
|
||||
|
|
Loading…
Reference in a new issue