From 5cda2a6802271d48f9d1b1fef3a46e2d48b00569 Mon Sep 17 00:00:00 2001 From: David Baker Date: Thu, 23 Jun 2016 14:38:08 +0100 Subject: [PATCH] Disable colour output in jenkins script As it really confuses jenkins --- jenkins.sh | 1 + package.json | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/jenkins.sh b/jenkins.sh index eeb7d7d56e..26d434a504 100755 --- a/jenkins.sh +++ b/jenkins.sh @@ -2,6 +2,7 @@ set -e +export KARMAFLAGS="--no-colors" export NVM_DIR="/home/jenkins/.nvm" [ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" nvm use 4 diff --git a/package.json b/package.json index d3021fb1ac..e8c7dd4f97 100644 --- a/package.json +++ b/package.json @@ -18,8 +18,8 @@ "start": "babel src -w -d lib --source-maps", "clean": "rimraf lib", "prepublish": "npm run build && git rev-parse HEAD > git-revision.txt", - "test": "karma start --browsers PhantomJS", - "test-multi": "karma start --single-run=false" + "test": "karma start $KARMAFLAGS --browsers PhantomJS", + "test-multi": "karma start $KARMAFLAGS --single-run=false" }, "dependencies": { "classnames": "^2.1.2",