<commit_before>dist: trusty
sudo: false

language: node_js
node_js:
  - "8"

cache:
  directories:
     - ./node_modules

install:
  - npm install

script:
  # Use Chromium instead of Chrome.
  - export CHROME_BIN=chromium-browser
  - xvfb-run -a npm run test -- --single-run --no-progress --browser=ChromeNoSandbox
  - xvfb-run -a npm run build
  #- xvfb-run -a npm run e2e -- --no-progress --config=protractor-ci.conf.js
<commit_msg>Add deployment to github pages<commit_after>dist: trusty
sudo: false

language: node_js
node_js:
  - "8"

cache:
  directories:
     - ./node_modules

install:
  - npm install

script:
  # Use Chromium instead of Chrome.
  - export CHROME_BIN=chromium-browser
  - xvfb-run -a npm run test -- --single-run --no-progress --browser=ChromeNoSandbox
  - xvfb-run -a npm run build
  #- xvfb-run -a npm run e2e -- --no-progress --config=protractor-ci.conf.js
  
deploy:
  provider: pages
  skip_cleanup: true
  github_token: $KOLOBOK_REPO_TOKEN
  local_dir: dist
  on:
    branch: gh-pages

{'fraction_non_alphanumeric': 0.1168958742632613, 'fraction_numerical': 0.003929273084479371, 'mean_word_length': 2.8745247148288975, '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': '7501557', 'n_tokens_mistral': 404, 'n_tokens_neox': 382, 'n_words': 100}