<commit_before>sudo: required
language: node_js
services:
  - docker
env:
  - DOCKER_TAG=$TRAVIS_TAG
  - SOURCE_COMMIT=$TRAVIS_COMMIT
node_js:
  - 8.9.0
cache:
  directories:
  - node_modules
notifications:
  email: false
  slack:
    rooms:
      secure: <KEY>
    on_success: never
    on_failure: always
    on_pull_requests: false
before_install:
  - npm install -g greenkeeper-lockfile@1
install:
  - npm install
before_script:
  - npm prune
  - greenkeeper-lockfile-update
script:
  - npm test && npm run build
after_success:
  - npm run coveralls
  - npm run semantic-release
after_script:
  - greenkeeper-lockfile-upload<commit_msg>chore(travis): add support for building and pushing docker images<commit_after>sudo: required
language: node_js
services:
  - docker
node_js:
  - 8.9.0
cache:
  directories:
  - node_modules
notifications:
  email: false
  slack:
    rooms:
      secure: <KEY>
    on_success: never
    on_failure: always
    on_pull_requests: false
before_install:
  - npm install -g greenkeeper-lockfile@1
install:
  - npm install
before_script:
  - npm prune
  - greenkeeper-lockfile-update
script:
  - npm test && VERSION=$TRAVIS_TAG VERSION_COMMIT=$TRAVIS_COMMIT npm run build
after_success:
  - npm run coveralls
  - npm run semantic-release
  - |
    [ "$TRAVIS_BRANCH" == "master" ] && [ -n "$TRAVIS_TAG" ] && \
    echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin && \
    VERSION=$TRAVIS_TAG VERSION_COMMIT=$TRAVIS_COMMIT npm run push
after_script:
  - greenkeeper-lockfile-upload
{'fraction_non_alphanumeric': 0.09721322099805574, 'fraction_numerical': 0.005184705119896306, 'mean_word_length': 3.5816023738872405, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '701795', 'n_tokens_mistral': 570, 'n_tokens_neox': 547, 'n_words': 130}