From 56d89ed7aea8939e08aa839c9774634e60c39793 Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Thu, 12 Dec 2013 21:58:44 -0800 Subject: Sauce tests: update to later browsers supported by OS X 10.9 --- Gruntfile.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Gruntfile.js') diff --git a/Gruntfile.js b/Gruntfile.js index 89e7f42f3..aae80dc3d 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -238,13 +238,13 @@ module.exports = function (grunt) { // See https://saucelabs.com/docs/platforms/webdriver { browserName: 'safari', - version: '6', - platform: 'OS X 10.8' + version: '7', + platform: 'OS X 10.9' }, { browserName: 'chrome', - version: '28', - platform: 'OS X 10.6' + version: '31', + platform: 'OS X 10.9' }, /* FIXME: currently fails 1 tooltip test { -- cgit v1.2.3 From 39a2dab722c2cccc8bb70ce43599211357d96f16 Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Sat, 14 Dec 2013 19:09:44 -0800 Subject: parallelize Travis using build matrix & test subsuites --- Gruntfile.js | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'Gruntfile.js') diff --git a/Gruntfile.js b/Gruntfile.js index aae80dc3d..dc301fa27 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -331,9 +331,19 @@ module.exports = function (grunt) { grunt.registerTask('validate-html', ['jekyll', 'validation']); // Test task. - var testSubtasks = ['dist-css', 'jshint', 'jscs', 'qunit', 'validate-html']; + var testSubtasks = []; + // Skip core tests if running a different subset of the test suite + if (!process.env.TWBS_TEST || process.env.TWBS_TEST === 'core') { + testSubtasks = testSubtasks.concat(['dist-css', 'jshint', 'jscs', 'qunit']); + } + // Skip HTML validation if running a different subset of the test suite + if (!process.env.TWBS_TEST || process.env.TWBS_TEST === 'validate-html') { + testSubtasks.push('validate-html'); + } // Only run Sauce Labs tests if there's a Sauce access key - if (typeof process.env.SAUCE_ACCESS_KEY !== 'undefined') { + if (typeof process.env.SAUCE_ACCESS_KEY !== 'undefined' + // Skip Sauce if running a different subset of the test suite + && (!process.env.TWBS_TEST || process.env.TWBS_TEST === 'sauce-js-unit')) { testSubtasks.push('connect'); testSubtasks.push('saucelabs-qunit'); } -- cgit v1.2.3