<commit_before>language: node_js
node_js:
  - 10
  - v9
  - v8
  - v7
  - v6
cache:
  yarn: false
  directories:
    - node_modules
install:
  - npm install i2c-bus --ignore-scripts
  - npm install
env:
  - CXX=g++-4.8
addons:
  apt:
    sources:
      - ubuntu-toolchain-r-test
    packages:
      - g++-4.8
before_script:
  - npm prune
after_success:
  - npm run report-coverage
  - npm run build
  - npm run build-docs
jobs:
  include:
    - stage: npm release
      script: echo "Deploying to npm ..."
      deploy:
        provider: script
        skip_cleanup: true
        script:
          - npx travis-deploy-once "npx semantic-release"
        on:
          branch: master
    - stage: github pages release
      script: echo "Deploying to github pages ..."
      deploy:
        provider: pages
        skip_cleanup: true
        github_token: $GH_TOKEN # Set in travis-ci.org dashboard
        local_dir: docs/motor-hat/1.0.0-semanticrelease
        on:
          branch: master<commit_msg>fix(build): add build steps to deploy stages<commit_after>language: node_js
node_js:
  - 10
  - v9
  - v8
  - v7
  - v6
cache:
  yarn: false
  directories:
    - node_modules
install:
  - npm install i2c-bus --ignore-scripts
  - npm install
env:
  - CXX=g++-4.8
addons:
  apt:
    sources:
      - ubuntu-toolchain-r-test
    packages:
      - g++-4.8
before_script:
  - npm prune
after_success:
  - npm run report-coverage
jobs:
  include:
    - stage: npm release
      install:
        - npm install i2c-bus --ignore-scripts
        - npm install
      script: 
        - echo "Deploying to npm ..."
        - npm run build
      deploy:
        provider: script
        skip_cleanup: true
        script:
          - npx travis-deploy-once "npx semantic-release"
        on:
          branch: master
    - stage: github pages release
      install:
        - npm install i2c-bus --ignore-scripts
        - npm install
      script: 
        - echo "Deploying to github pages ..."
        - npm run build-docs
      deploy:
        provider: pages
        skip_cleanup: true
        github_token: $GH_TOKEN # Set in travis-ci.org dashboard
        local_dir: docs/motor-hat/1.0.0-semanticrelease
        on:
          branch: master
{'fraction_non_alphanumeric': 0.09432275368797496, 'fraction_numerical': 0.013410818059901655, 'mean_word_length': 1.7595561035758323, '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': '2671439', 'n_tokens_mistral': 784, 'n_tokens_neox': 731, 'n_words': 199}