1
0
Fork 0
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:
Chris Rebert 2013-08-06 00:39:35 -07:00
parent 093cda244a
commit cdc92e8139

View file

@ -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']);