Disable colour output in jenkins script

As it really confuses jenkins
pull/21833/head
David Baker 2016-06-23 14:38:08 +01:00
parent e046f5359f
commit 5cda2a6802
2 changed files with 3 additions and 2 deletions

View File

@ -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

View File

@ -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",