<commit_before>language: python
python:
  - '2.7'
services:
  - redis-server
addons:
  postgresql: '9.3'
sudo: false
cache:
  directories:
    - $HOME/.cache/pip
env:
  - DJANGO_SETTINGS_MODULE="tracpro.settings"
install:
  - pip install --upgrade pip
  - pip install -r requirements/tests.txt
  - npm install less
  - npm install coffee-script
before_script:
  - psql -U postgres -c "CREATE USER tracpro WITH PASSWORD '<PASSWORD>';"
  - psql -U postgres -c "ALTER ROLE tracpro WITH SUPERUSER;"
  - psql -U tracpro postgres -c "CREATE DATABASE tracpro;"
  - ln -s $TRAVIS_BUILD_DIR/tracpro/settings.py.dev $TRAVIS_BUILD_DIR/tracpro/settings.py
script:
  - coverage run manage.py test
  - coverage report -m --fail-under 80<commit_msg>Project template: Update Travis test settings path<commit_after>language: python
python:
  - '2.7'
services:
  - redis-server
addons:
  postgresql: '9.3'
sudo: false
cache:
  directories:
    - $HOME/.cache/pip
env:
  - DJANGO_SETTINGS_MODULE="tracpro.settings.tests"
install:
  - pip install --upgrade pip
  - pip install -r requirements/tests.txt
  - npm install less
  - npm install coffee-script
before_script:
  - psql -U postgres -c "CREATE USER tracpro WITH PASSWORD '<PASSWORD>';"
  - psql -U postgres -c "ALTER ROLE tracpro WITH SUPERUSER;"
  - psql -U tracpro postgres -c "CREATE DATABASE tracpro;"
script:
  - coverage run manage.py test
  - coverage report -m --fail-under 80
{'fraction_non_alphanumeric': 0.11189303307529909, 'fraction_numerical': 0.00844475721323012, 'mean_word_length': 3.388888888888889, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '5466683', 'n_tokens_mistral': 528, 'n_tokens_neox': 501, 'n_words': 147}