mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-29 21:52:22 +01:00
disable core tests for Savage builds
This commit is contained in:
parent
aaffe4b498
commit
db95e0bd01
@ -394,7 +394,9 @@ module.exports = function (grunt) {
|
|||||||
// Test task.
|
// Test task.
|
||||||
var testSubtasks = [];
|
var testSubtasks = [];
|
||||||
// Skip core tests if running a different subset of the test suite
|
// 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']);
|
testSubtasks = testSubtasks.concat(['dist-css', 'dist-js', 'csslint:dist', 'test-js', 'docs']);
|
||||||
}
|
}
|
||||||
// Skip HTML validation if running a different subset of the test suite
|
// Skip HTML validation if running a different subset of the test suite
|
||||||
|
Loading…
x
Reference in New Issue
Block a user