<commit_before>language: python
python:
  - "3.4"
  - "3.5"
  - "3.6"
addons:
  postgresql: "9.4"
# currently points to 3.7-dev# command to install dependencies
install:
  - pip install -r doc/requirements.txt
# command to run tests
before_script:
  - psql -c 'create database travis_ci_torcms;' -U postgres
  - psql travis_ci_torcms -c 'create extension if not exists hstore' -U postgres
  - touch cfg.py create file

script:
  - git clone https://github.com/bukun/torcms_modules_bootstrap.git  templates/modules
  - python helper.py -i init_tables
  - python helper.py -i gen_category
  - python helper.py -i crud0
  - python helper.py -i crud1
  - nosetests  --exe -v -d tester<commit_msg>add script for running whoosh in travis.<commit_after>language: python
python:
  - "3.4"
  - "3.5"
  - "3.6"
addons:
  postgresql: "9.4"
# currently points to 3.7-dev# command to install dependencies
install:
  - pip install -r doc/requirements.txt
# command to run tests
before_script:
  - psql -c 'create database travis_ci_torcms;' -U postgres
  - psql travis_ci_torcms -c 'create extension if not exists hstore' -U postgres
  - touch cfg.py create file

script:
  - git clone https://github.com/bukun/torcms_modules_bootstrap.git  templates/modules
  - python helper.py -i init_tables
  - python helper.py -i gen_category
  - python helper.py -i crud0
  - python helper.py -i crud1
  - python script_whoosh.py
  - nosetests  --exe -v -d tester
{'fraction_non_alphanumeric': 0.103544127866574, 'fraction_numerical': 0.01667824878387769, 'mean_word_length': 3.14985590778098, 'pattern_counts': {'":': 0, '<': 3, '<?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': '6380757', 'n_tokens_mistral': 525, 'n_tokens_neox': 510, 'n_words': 157}