<commit_before>
language: node_js
node_js:
  - 4.2.6
addons:
  apt:
    sources:
      - ubuntu-toolchain-r-test
    packages:
      - gcc-4.8
      - g++-4.8

before_install:
    # Use GCC 4.8 if it's available
  - 'if [ ! `which gcc-4.8` == "" ]; then export CXX=g++-4.8 && export CC=gcc-4.8; fi'
  - npm install -g grunt-cli
install: npm install
before_script:
    - grunt dist --verbose
    - npm config set registry https://registry.npmjs.org/
script:
  - ./node_modules/.bin/karma start --single-run --browsers PhantomJS
  - if [ "$TRAVIS_BRANCH" == "master" ] && [ "$TRAVIS_PULL_REQUEST"  ==  "false"  ]; then bash ./deploy-ghpages.sh; fi
env:
  global:
    - GH_REF: github.com/Teleopti/styleguide.git
    - secure: d9ejf1F4Q+kIhKVfaReYlW3itLeMmQzcuJH4vM/LffzJb/PusyI+mMBmo4Bc4h3GmkJEjCb78nrxjzRFZeG3C7C4jOgg2NGGIwQzpHoKcziwmfpX8BgFTnBU6VlmLUBnNxOINppLV6glMR0kHK6o/KLrKC56xKzHX4/yYrXcPdQ=
notifications:
  slack: teleopti:mStgbDoxN1zPMMc27nL6kNRw
deploy:
  provider: npm
  username: 'teleopti_travis'
  email: $email
  api_key: $token
  on:
      tags: true<commit_msg>changed the exceution order of npm config<commit_after>
language: node_js
node_js:
  - 4.2.6
addons:
  apt:
    sources:
      - ubuntu-toolchain-r-test
    packages:
      - gcc-4.8
      - g++-4.8

before_install:
    # Use GCC 4.8 if it's available
  - 'if [ ! `which gcc-4.8` == "" ]; then export CXX=g++-4.8 && export CC=gcc-4.8; fi'
  - npm config set registry https://registry.npmjs.org/
  - npm install -g grunt-cli
install: npm install
before_script: grunt dist --verbose
script:
  - ./node_modules/.bin/karma start --single-run --browsers PhantomJS
  - if [ "$TRAVIS_BRANCH" == "master" ] && [ "$TRAVIS_PULL_REQUEST"  ==  "false"  ]; then bash ./deploy-ghpages.sh; fi
env:
  global:
    - GH_REF: github.com/Teleopti/styleguide.git
    - secure: d9ejf1F4Q+kIhKVfaReYlW3itLeMmQzcuJH4vM/LffzJb/PusyI+mMBmo4Bc4h3GmkJEjCb78nrxjzRFZeG3C7C4jOgg2NGGIwQzpHoKcziwmfpX8BgFTnBU6VlmLUBnNxOINppLV6glMR0kHK6o/KLrKC56xKzHX4/yYrXcPdQ=
notifications:
  slack: teleopti:mStgbDoxN1zPMMc27nL6kNRw
deploy:
  provider: npm
  username: 'teleopti_travis'
  email: $email
  api_key: $token
  on:
      tags: true
{'fraction_non_alphanumeric': 0.12741490340386386, 'fraction_numerical': 0.03771849126034959, 'mean_word_length': 3.4297352342158858, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '1585925', 'n_tokens_mistral': 1055, 'n_tokens_neox': 993, 'n_words': 165}