<commit_before>sudo: required
dist: trusty
language: python
python:
  - 3.4
  - 3.5

install:
  - sudo apt-get update
  - sudo apt-get install -y pigz npm
  - bash setup.sh
  - cd website
  - pip install -r requirements.txt
  - pip install -r tests/requirements.txt
  - sass --update .:.

script:
  - python3 -m pytest --cov=. -k 'not data_dependent'


after_success:<commit_msg>Make travis use 2 cores for tests, stop after first error<commit_after>sudo: required
dist: trusty
language: python
python:
  - 3.4
  - 3.5

install:
  - sudo apt-get update
  - sudo apt-get install -y pigz npm
  - bash setup.sh
  - cd website
  - pip install -r requirements.txt
  - pip install -r tests/requirements.txt
  - sass --update .:.

script:
  - python3 -m pytest -x -n 2 --cov=. -k 'not data_dependent'


after_success:
{'fraction_non_alphanumeric': 0.11234567901234568, 'fraction_numerical': 0.014814814814814815, 'mean_word_length': 2.557017543859649, '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': '5641121', 'n_tokens_mistral': 309, 'n_tokens_neox': 287, 'n_words': 96}