<commit_before>language: python
python:
  - "2.7"
# command to install dependencies
install: "pip install -r requirements.txt"
# command to run tests TODO make an actual test
script: "python -m unittest discover tests"
<commit_msg>Fix Travis tests: set DATABASE URL and create models before tests<commit_after>language: python
python:
  - "2.7"
# command to install dependencies
install: pip install -r requirements.txt
# command to prepare for tests
before_script:
  - export DATABASE_URL='sqlite:///local.db'
  - python models.py
# command to run tests
script: python -m unittest discover tests

{'fraction_non_alphanumeric': 0.08375209380234507, 'fraction_numerical': 0.006700167504187605, 'mean_word_length': 4.6415094339622645, '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': '6757787', 'n_tokens_mistral': 174, 'n_tokens_neox': 169, 'n_words': 71}