<commit_before>language: python

python:
  - "2.7"

sudo: false

install:
  - pip install -r requirements.txt
  - pip install -r requirements-dev.txt
  - paver setup

script:
  - echo -e "admin\ntest\nt<EMAIL>\<EMAIL>\<EMAIL>" | python GeoHealthCheck/models.py create
  - find . -name "*.py" | grep -v docs | xargs flake8
  - cd docs && make html

after-script:
  - python GeoHealthCheck/models.py drop<commit_msg>#82 let travis load data, and run tests<commit_after>language: python

python:
  - "2.7"

sudo: false

install:
  - pip install -r requirements.txt
  - pip install -r requirements-dev.txt
  - paver setup

script:
  - echo -e "admin\ntest\ntest\<EMAIL>\<EMAIL>" | python GeoHealthCheck/models.py create
  - find . -name "*.py" | grep -v docs | xargs flake8
  - cd docs && make html
  - python GeoHealthCheck/models.py load tests/data/fixtures.json y
  - python GeoHealthCheck/models.py run
  - python tests/run_tests.py

after-script:
  - python GeoHealthCheck/models.py drop
{'fraction_non_alphanumeric': 0.12348178137651822, 'fraction_numerical': 0.008097165991902834, 'mean_word_length': 3.103734439834025, 'pattern_counts': {'":': 0, '<': 8, '<?xml version=': 0, '>': 8, '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': '5651423', 'n_tokens_mistral': 362, 'n_tokens_neox': 345, 'n_words': 96}