<commit_before>language: node_js

node_js:
  - '5'
  - '4'

# fail asap when there is a failure
matrix:
  fast_finish: true

# cache node modules
cache:
  directories:
    - node_modules
    - test-boilerplate/node_modules
    - docs/node_modules

before_install:
  # ensure npm @ 3 is installed (check only first number of npm)
  - NPM_VERSION=$(npm --version)
  - 'if [ "${NPM_VERSION:0:2}" = "2." ]; then npm i -g npm@latest; fi'
  # faster npm install
  - npm set progress=false
  # remove useless/non listed deps
  - npm prune

script: npm run test-with-coverage

after_success: npm run coverage

# deploy docs to gh-pages for commits in master
deploy:
  skip_cleanup: true
  provider: script
  script: ./docs/scripts/deploy.sh
  on:
    branch: master
    node: '5'

env:
  global:
    # GITHUB_TOKEN
    - secure: YdtJZ5EnoKt57uHq1ue8RNXk4tZJqx3Fr7SkPlNFPVmRLH3DLkHs4hNoWw5xot2/D8dreGNVF6iDEXwyGQkRriVwBlvyU1LBQRH1QQLnd5Q3+8OosxZRrslUajW1XhK82FnWmI7ueXngwYTsnZP3UOdYSZt0mh3kPL3oIz94AoC8KovY3s7Ng/DM+OkiGC06uEIaxcKYSdDYl9f+Y8Vl41AuKm6IZ1gBY2Fbyh3+RV40KarSDg5ARIQO1sOaQH5edEPmzS0LmGWnr5P2KwGDvxN2hBu+teVYBM6l/tjNItAmRibQK5o/S3R+ZVS83op5RtDVC3hXTgneYPcpZ20f0F3ETOTQaTeedH4KINOt3qEdwsWlo7tlKjKaCkadggZ7RwyrMhBfy9oMj+kT/VAj3hqtrX8AIf7BrNQxTDBvSR8PST/qu9bdrWBJXTErGn0dB4CNdBD2wckenWTZHTj01uHOEoCsL2iUCpG9/7B0Y84o8SsN+BycbFy3TTSYO7tn4EGTX8VEKkKpivJh33C9dNi8fUEu9UwooJK0j+S9XPTt6l1ccgC/I8BLVE+hMFfNnwE0QhMBjw66yOJitH16g1OOvE7KckPLekrpa7rhe04uAIwhdowLs9GtSPT9S8mHM6/YNxlpYxdwSI7QllQs7eVsHEx4EBZ6/Vw96pbYLy0=<commit_msg>Internal: remove auto deploy of docs via Travis<commit_after>language: node_js

node_js:
  - '5'
  - '4'

# fail asap when there is a failure
matrix:
  fast_finish: true

# cache node modules
cache:
  directories:
    - node_modules
    - test-boilerplate/node_modules
    - docs/node_modules

before_install:
  # ensure npm @ 3 is installed (check only first number of npm)
  - NPM_VERSION=$(npm --version)
  - 'if [ "${NPM_VERSION:0:2}" = "2." ]; then npm i -g npm@latest; fi'
  # faster npm install
  - npm set progress=false
  # remove useless/non listed deps
  - npm prune

script: npm run test-with-coverage

after_success: npm run coverage
{'fraction_non_alphanumeric': 0.07998150716597319, 'fraction_numerical': 0.06102635228848821, 'mean_word_length': 4.928767123287671, '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': '1137807', 'n_tokens_mistral': 1098, 'n_tokens_neox': 1026, 'n_words': 163}