disable core tests for Savage builds

This commit is contained in:
Chris Rebert 2014-11-19 15:43:23 -08:00
parent aaffe4b498
commit db95e0bd01
1 changed files with 3 additions and 1 deletions

View File

@ -394,7 +394,9 @@ module.exports = function (grunt) {
// Test task.
var testSubtasks = [];
// Skip core tests if running a different subset of the test suite
if (runSubset('core')) {
if (runSubset('core') &&
// Skip core tests if this is a Savage build
process.env.TRAVIS_REPO_SLUG !== 'twbs-savage/bootstrap') {
testSubtasks = testSubtasks.concat(['dist-css', 'dist-js', 'csslint:dist', 'test-js', 'docs']);
}
// Skip HTML validation if running a different subset of the test suite