[Pkg-javascript-commits] [less.js] 264/285: modifications to let sauce pass on master and ie tests to continue failing on the sauce branch

Jonas Smedegaard dr at jones.dk
Mon Oct 26 23:24:00 UTC 2015


This is an automated email from the git hooks/post-receive script.

js pushed a commit to annotated tag v2.0.0
in repository less.js.

commit 52ea5c8c6b66a9798650e8fae52418ed8ee8e6ad
Author: Luke Page <luke.a.page at gmail.com>
Date:   Sun Nov 2 18:21:31 2014 +0000

    modifications to let sauce pass on master and ie tests to continue failing on the sauce branch
---
 Gruntfile.js | 49 +++++++++++++++++++++++++------------------------
 1 file changed, 25 insertions(+), 24 deletions(-)

diff --git a/Gruntfile.js b/Gruntfile.js
index 11eb1ea..08a16e7 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -254,30 +254,31 @@ module.exports = function (grunt) {
                         version: '8.0',
                         platform: 'OS X 10.9',
                         'device-orientation': 'portrait'
-                    },
-                    {
-                        browserName: "internet explorer",
-                        version: '8',
-                        platform: 'Windows XP'
-                    },
-                    {
-                        browserName: "internet explorer",
-                        version: '9',
-                        platform: 'Windows 7'
-                    },
-                    {
-                        browserName: "internet explorer",
-                        version: '10',
-                        platform: 'Windows 7'
-                    },
-                    {
-                        browserName: "internet explorer",
-                        version: '11',
-                        platform: 'Windows 8.1'
-                    }],
+                    }].concat(process.env.TRAVIS_BRANCH === "master" ? [] : [{
+                            browserName: "internet explorer",
+                            version: '8',
+                            platform: 'Windows XP'
+                        },
+                        {
+                            browserName: "internet explorer",
+                            version: '9',
+                            platform: 'Windows 7'
+                        },
+                        {
+                            browserName: "internet explorer",
+                            version: '10',
+                            platform: 'Windows 7'
+                        },
+                        {
+                            browserName: "internet explorer",
+                            version: '11',
+                            platform: 'Windows 8.1'
+                        }]),
                     sauceConfig: {
-                        /*'record-video': false, 'record-screenshots': false,*/ 'idle-timeout': 100, 'max-duration': 120,
-                        build: process.env.TRAVIS_JOB_ID,
+                        'record-video': process.env.TRAVIS_BRANCH !== "master",
+                        'record-screenshots': process.env.TRAVIS_BRANCH !== "master",
+                        'idle-timeout': 100, 'max-duration': 120,
+                        build: process.env.TRAVIS_BRANCH === "master" ? process.env.TRAVIS_JOB_ID : undefined,
                         tags: [process.env.TRAVIS_BUILD_NUMBER, process.env.TRAVIS_PULL_REQUEST, process.env.TRAVIS_BRANCH]
                     },
                     throttled: 3
@@ -367,7 +368,7 @@ module.exports = function (grunt) {
 
     if (isNaN(Number(process.env.TRAVIS_PULL_REQUEST, 10)) &&
         Number(process.env.TRAVIS_NODE_VERSION) === 0.11 &&
-        process.env.TRAVIS_BRANCH === "master") {
+        (process.env.TRAVIS_BRANCH === "master" || process.env.TRAVIS_BRANCH === "sauce")) {
         testTasks.push("sauce-after-setup");
     }
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/less.js.git



More information about the Pkg-javascript-commits mailing list