<commit_before>---
sudo: false
dist: trusty
language: node_js
node_js:
  - '8.3'
  - '8'
  - '10'
matrix:
  allow_failures:
    - node_js: '10'

cache:
  directories:
    - node_modules

before_install:
  - npm i -g npm@6
  - touch package.json

install:
  - make install

script:
  - make lint
  - make test

after_success:
  - make coverage
  - cat coverage/lcov.info | node_modules/.bin/coveralls

env:
  global:
    - secure: <KEY>
    - secure: <KEY>

deploy:
  skip_cleanup: true
  provider: script
  script: utils/release.sh
  on:
    repo: strvcom/atlas.js
    all_branches: true
    condition: $TRAVIS_BRANCH =~ ^release\/.{1,}$
    node_js: '8'
<commit_msg>build: avoid running babel individually for each source file<commit_after>---
sudo: false
dist: trusty
language: node_js
node_js:
  - '8.3'
  - '8'
  - '10'
matrix:
  allow_failures:
    - node_js: '10'

cache:
  directories:
    - node_modules

before_install:
  - npm i -g npm@6
  - touch package.json

install:
  - make install
  - make precompile

script:
  - make lint
  - make test

after_success:
  - make coverage
  - cat coverage/lcov.info | node_modules/.bin/coveralls

env:
  global:
    - secure: <KEY>
    - secure: <KEY>

deploy:
  skip_cleanup: true
  provider: script
  script: utils/release.sh
  on:
    repo: strvcom/atlas.js
    all_branches: true
    condition: $TRAVIS_BRANCH =~ ^release\/.{1,}$
    node_js: '8'

{'fraction_non_alphanumeric': 0.12276945039257674, 'fraction_numerical': 0.014275517487508922, 'mean_word_length': 2.679790026246719, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '1110806', 'n_tokens_mistral': 561, 'n_tokens_neox': 550, 'n_words': 134}