Skip to content

Instantly share code, notes, and snippets.

@dedeibel
Created March 7, 2018 12:40
Show Gist options
  • Save dedeibel/8a0d8f346fc0d11ffb9eca4cb30f22e7 to your computer and use it in GitHub Desktop.
Save dedeibel/8a0d8f346fc0d11ffb9eca4cb30f22e7 to your computer and use it in GitHub Desktop.
Sane settings for running npm and karma on bamboo (no ascii, colors, unicode, progres …)
NPM_EXTRA_ARGS=
KARMA_EXTRA_ARGS=
echo "bamboo_buildNumber is '$bamboo_buildNumber'"
if [ -n "$bamboo_buildNumber" ]; then
echo "Using no color and no progress params"
NPM_EXTRA_ARGS="--progress false --color false --loglevel warn --unicode false"
KARMA_EXTRA_ARGS="--no-colors --reporters junit,coverage --no-auto-watch"
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment