<commit_before>#!/bin/sh -xe

# prerequisites

if [ "$CI_OS" = "darwin" ]; then
  7za | head -2
fi
node --version
npm --version
go version

if [ "$CI_OS" = "linux" ]; then
  ruby --version
  gem --version
fi

case $CI_BUILD_TAG in
(*-canary)
  export CI_CHANNEL=canary
;;
(*)
  export CI_CHANNEL=stable
;;esac

export NPM_CMD="npm --no-progress --silent"

if (which grunt); then
  echo "Already have grunt"
else
  $NPM_CMD install -g grunt-cli
fi

export PATH=$PATH:$PWD/node_modules/.bin
$NPM_CMD install

grunt copy sass babel
npm test

if [ "$CI_OS" = "linux" ]; then
  npm run coveralls
fi

if [ -z "$CI_BUILD_TAG" ]; then
  exit 0
fi

export GOPATH="$HOME/go"<commit_msg>Make npm quiet, not silent<commit_after>#!/bin/sh -xe

# prerequisites

if [ "$CI_OS" = "darwin" ]; then
  7za | head -2
fi
node --version
npm --version
go version

if [ "$CI_OS" = "linux" ]; then
  ruby --version
  gem --version
fi

case $CI_BUILD_TAG in
(*-canary)
  export CI_CHANNEL=canary
;;
(*)
  export CI_CHANNEL=stable
;;esac

export NPM_CMD="npm --no-progress --quiet"

if (which grunt); then
  echo "Already have grunt"
else
  $NPM_CMD install -g grunt-cli
fi

export PATH=$PATH:$PWD/node_modules/.bin
$NPM_CMD install

grunt copy sass babel
npm test

if [ "$CI_OS" = "linux" ]; then
  npm run coveralls
fi

if [ -z "$CI_BUILD_TAG" ]; then
  exit 0
fi

export GOPATH="$HOME/go"
{'fraction_non_alphanumeric': 0.14149560117302054, 'fraction_numerical': 0.004398826979472141, 'mean_word_length': 3.5348837209302326, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2074145', 'n_tokens_mistral': 571, 'n_tokens_neox': 538, 'n_words': 163}