]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
disable core tests for Savage builds
authorChris Rebert <code@rebertia.com>
Wed, 19 Nov 2014 23:43:23 +0000 (15:43 -0800)
committerChris Rebert <code@rebertia.com>
Thu, 20 Nov 2014 00:00:46 +0000 (16:00 -0800)
Gruntfile.js

index 76fbbcbafa2dd00b5f50d8803b498e3ca0071cd3..3c5e59273a838c3b8f4192b722e756616684962c 100644 (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