<commit_before>sudo: required
dist: trusty
language: node_js
node_js:
- node
env:
  global:
  - DEPLOY_USER=deploy
  - DEPLOY_HOST=maya.elol.fr
addons:
  ssh_known_hosts: maya.elol.fr
apt:
  sources:
  - google-chrome
  packages:
  - google-chrome-stable
  - google-chrome-beta
before_install:
- export CHROME_BIN=chromium-browser
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
before_script:
- npm install -g angular-cli karma
- npm install
- ng build -prod
script: ng test --watch false --code-coverage
after_success:
  - bash <(curl -s https://codecov.io/bash)
before_deploy:
- openssl aes-256-cbc -K $encrypted_b52bebe2eeaf_key -iv $encrypted_b52bebe2eeaf_iv -in deploy/deploy_rsa.enc -out deploy/deploy_rsa -d
- eval "$(ssh-agent -s)"
- chmod 600 $TRAVIS_BUILD_DIR/deploy/deploy_rsa
- ssh-add $TRAVIS_BUILD_DIR/deploy/deploy_rsa
deploy:
  provider: script
  skip_cleanup: true<commit_msg>(ci) test with yarn supported by travis-ci<commit_after>sudo: required
dist: trusty
language: node_js
node_js:
- node
env:
  global:
  - DEPLOY_USER=deploy
  - DEPLOY_HOST=maya.elol.fr
addons:
  ssh_known_hosts: maya.elol.fr
apt:
  sources:
  - google-chrome
  packages:
  - google-chrome-stable
  - google-chrome-beta
before_install:
- export CHROME_BIN=chromium-browser
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
before_script:
- yarn global add angular-cli
- yarn global add karma
- ng build -prod
script: ng test --watch false --code-coverage
after_success:
  - bash <(curl -s https://codecov.io/bash)
before_deploy:
- openssl aes-256-cbc -K $encrypted_b52bebe2eeaf_key -iv $encrypted_b52bebe2eeaf_iv -in deploy/deploy_rsa.enc -out deploy/deploy_rsa -d
- eval "$(ssh-agent -s)"
- chmod 600 $TRAVIS_BUILD_DIR/deploy/deploy_rsa
- ssh-add $TRAVIS_BUILD_DIR/deploy/deploy_rsa
deploy:
  provider: script
  skip_cleanup: true
{'fraction_non_alphanumeric': 0.1134133042529989, 'fraction_numerical': 0.016357688113413305, 'mean_word_length': 3.9864130434782608, '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': '4569464', 'n_tokens_mistral': 778, 'n_tokens_neox': 714, 'n_words': 160}