mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-17 09:52:29 +01:00
only run browserstack tests in Travis
This commit is contained in:
parent
093cda244a
commit
cdc92e8139
@ -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…
x
Reference in New Issue
Block a user