<commit_before>language: node_js
node_js: 6
branches:
  except: /^v\d+\.\d+(\.\d+)?(-\S*)?$/
script:
  - npm run eslint
  - npm test
  - npm run coverage
  - npm run codecov
before_install:
  - git fetch && git checkout -f ${TRAVIS_PULL_REQUEST_BRANCH:-$TRAVIS_BRANCH}
deploy:
  - provider: script
    skip_cleanup: true
    script: /bin/bash scripts/release.sh
    on:
      all_branches: true
  - provider: pages
    skip_cleanup: true
    github_token: $GITHUB_API_KEY
    on:
      all_branches: true<commit_msg>Switch back to the current branch on non-pull request<commit_after>language: node_js
node_js: 6
branches:
  except: /^v\d+\.\d+(\.\d+)?(-\S*)?$/
script:
  - npm run eslint
  - npm test
  - npm run coverage
  - npm run codecov
before_install:
  - $(if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then git checkout $TRAVIS_BRANCH; fi)
deploy:
  - provider: script
    skip_cleanup: true
    script: /bin/bash scripts/release.sh
    on:
      all_branches: true
  - provider: pages
    skip_cleanup: true
    github_token: $GITHUB_API_KEY
    on:
      all_branches: true
{'fraction_non_alphanumeric': 0.12511584800741427, 'fraction_numerical': 0.0018535681186283596, 'mean_word_length': 3.0, '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': '1910734', 'n_tokens_mistral': 419, 'n_tokens_neox': 396, 'n_words': 101}