Commit cdc92e81 authored by Chris Rebert's avatar Chris Rebert

only run browserstack tests in Travis

parent 093cda24
...@@ -129,7 +129,11 @@ module.exports = function(grunt) { ...@@ -129,7 +129,11 @@ module.exports = function(grunt) {
// Test task. // 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. // JS distribution task.
grunt.registerTask('dist-js', ['concat', 'uglify']); grunt.registerTask('dist-js', ['concat', 'uglify']);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment