<commit_before>language: node_js

node_js:
  - "0.10"

before_install:
  - "chromium-browser --version"
  - "sudo chmod 1777 /dev/shm"

before_script:
  - "nvm use v0.10"
  - "git clone git://github.com/LivelyKernel/LivelyKernel.git"
  - "mkdir LivelyKernel/users"
  - "ln -s $PWD LivelyKernel/users/timfelgentreff"
  - "cd LivelyKernel"
  - "Xvfb :1 -screen 0 800x600x24 &"
  - "npm install"
  - "npm bin/lk-server --no-partsbin-check &"
  - "sleep 15"
  - "sed -i 's/var testList = baseTests;/var testList = [\"users.timfelgentreff.babelsberg.tests\"]; browserTests = [];/' run_tests.js"

script: "DISPLAY=:1 npm test"
<commit_msg>Fix last commit<commit_after>language: node_js

node_js:
  - "0.10"

before_install:
  - "chromium-browser --version"
  - "sudo chmod 1777 /dev/shm"

before_script:
  - "nvm use v0.10"
  - "git clone git://github.com/LivelyKernel/LivelyKernel.git"
  - "mkdir LivelyKernel/users"
  - "ln -s $PWD LivelyKernel/users/timfelgentreff"
  - "cd LivelyKernel"
  - "Xvfb :1 -screen 0 800x600x24 &"
  - "npm install"
  - "node bin/lk-server --no-partsbin-check &"
  - "sleep 15"
  - "sed -i 's/var testList = baseTests;/var testList = [\"users.timfelgentreff.babelsberg.tests\"]; browserTests = [];/' run_tests.js"

script: "DISPLAY=:1 npm test"

{'fraction_non_alphanumeric': 0.16390858944050432, 'fraction_numerical': 0.036249014972419225, 'mean_word_length': 3.276094276094276, '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': '2296000', 'n_tokens_mistral': 560, 'n_tokens_neox': 514, 'n_words': 104}