<commit_before>dist: trusty
language: node_js
node_js:
  - '8'
addons:
  chrome: stable
  ssh_known_hosts: moukari.assembly.org
env:
  - CHROME_BIN=google-chrome-stable
cache: yarn
before_install:
  - openssl aes-256-cbc -K $encrypted_b9133dc7101e_key -iv $encrypted_b9133dc7101e_iv
    -in deploy.tar.gz.enc -out deploy.tar.gz -d
  - tar zxvf deploy.tar.gz
  - mv deploy/ssh_config ~/.ssh/config
  - mv deploy/deployment_key ~/.ssh/id_rsa
  - chmod 0600 ~/.ssh/*
jobs:
  include:
    - stage: test
      script:
        - yarn test -- --singleRun
        - ./node_modules/.bin/codeclimate-test-reporter < coverage/lcov.info
    - stage: test
      script: yarn e2e
    - stage: build & deploy
      script:
        - yarn build:ci
        - '[ "${TRAVIS_PULL_REQUEST}" != "false" ] && travis_terminate 0 || :'
        - '[ "${TRAVIS_BRANCH}" != "master" ] && travis_terminate 0 || :'
        - rsync -avW --delete-before dev/ ${TRAVIS_BRANCH}:/srv/dev
        - rsync -avW --delete-before stg/ ${TRAVIS_BRANCH}:/srv/staging
        - rsync -avW --delete-before prod/ ${TRAVIS_BRANCH}:/srv/prod
notifications:
  slack:
    secure: <KEY>
<commit_msg>Fix for Travis test config<commit_after>dist: trusty
language: node_js
node_js:
  - '8'
addons:
  chrome: stable
  ssh_known_hosts: moukari.assembly.org
before_script:
  - "sudo chown root /opt/google/chrome/chrome-sandbox"
  - "sudo chmod 4755 /opt/google/chrome/chrome-sandbox"
env:
  - CHROME_BIN=google-chrome-stable
cache: yarn
before_install:
  - openssl aes-256-cbc -K $encrypted_b9133dc7101e_key -iv $encrypted_b9133dc7101e_iv
    -in deploy.tar.gz.enc -out deploy.tar.gz -d
  - tar zxvf deploy.tar.gz
  - mv deploy/ssh_config ~/.ssh/config
  - mv deploy/deployment_key ~/.ssh/id_rsa
  - chmod 0600 ~/.ssh/*
jobs:
  include:
    - stage: test
      script:
        - yarn test -- --singleRun
        - ./node_modules/.bin/codeclimate-test-reporter < coverage/lcov.info
    - stage: test
      script: yarn e2e
    - stage: build & deploy
      script:
        - yarn build:ci
        - '[ "${TRAVIS_PULL_REQUEST}" != "false" ] && travis_terminate 0 || :'
        - '[ "${TRAVIS_BRANCH}" != "master" ] && travis_terminate 0 || :'
        - rsync -avW --delete-before dev/ ${TRAVIS_BRANCH}:/srv/dev
        - rsync -avW --delete-before stg/ ${TRAVIS_BRANCH}:/srv/staging
        - rsync -avW --delete-before prod/ ${TRAVIS_BRANCH}:/srv/prod
notifications:
  slack:
    secure: <KEY>

{'fraction_non_alphanumeric': 0.1431501230516817, 'fraction_numerical': 0.02378999179655455, 'mean_word_length': 2.5762463343108504, 'pattern_counts': {'":': 0, '<': 7, '<?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': '43433', 'n_tokens_mistral': 997, 'n_tokens_neox': 934, 'n_words': 187}