<commit_before>services:
  - docker

language: node_js

node_js:
  - "7.2.1"

cache:
  yarn: true

script:
  - npm run lint
  - npm run test:cover

after_success:
  - bash <(curl -s https://codecov.io/bash)
  - docker build --build-arg version=$(node -p -e "require('./package.json').version") -t index.docker.io/oshalygin/olegjs:$(node -p -e "require('./package.json').version") .
  - if [ "$TRAVIS_BRANCH" == "master" ]; then
      docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD";
      docker push oshalygin/olegjs:$(node -p -e "require('./package.json').version");
    fi<commit_msg>Add node 6.0<commit_after>sudo: required

services:
  - docker

language: node_js

node_js:
  - "6.0"

cache:
  yarn: true

script:
  - npm run lint
  - npm run test
  - npm run test:cover

after_success:
  - bash <(curl -s https://codecov.io/bash)
  - docker build --build-arg version=$(node -p -e "require('./package.json').version") -t index.docker.io/oshalygin/olegjs:$(node -p -e "require('./package.json').version") .
  - if [ "$TRAVIS_BRANCH" == "master" ]; then
      docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD";
      docker push oshalygin/olegjs:$(node -p -e "require('./package.json').version");
    fi
{'fraction_non_alphanumeric': 0.18330605564648117, 'fraction_numerical': 0.0057283142389525366, 'mean_word_length': 3.202749140893471, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '591594', 'n_tokens_mistral': 483, 'n_tokens_neox': 457, 'n_words': 102}