<commit_before>language: python
python:
    - "2.6"
    - "2.7"
install:
   - cd regserver 
   - pip install -r requirements.txt --use-mirrors
   - cd ..
   - echo "yes" | sudo add-apt-repository ppa:chris-lea/node.js
   - sudo apt-get update
   - sudo apt-get install nodejs phantomjs
   - cd front_end
   - npm install grunt-cli grunt-init
   - npm install
   - cd ..
   - cp example-config.json config.json
script:
    - export PYTHONPATH=.
    - cd regserver
    - nosetests
    - cd ..
    - grunt test<commit_msg>Get travis to use Django's test runner<commit_after>language: python
python:
    - "2.6"
    - "2.7"
install:
   - cd regserver 
   - pip install -r requirements.txt --use-mirrors
   - cd ..
   - echo "yes" | sudo add-apt-repository ppa:chris-lea/node.js
   - sudo apt-get update
   - sudo apt-get install nodejs phantomjs
   - cd front_end
   - npm install grunt-cli grunt-init
   - npm install
   - cd ..
   - cp example-config.json config.json
script:
    - cd regserver
    - python manage.py test regulations --settings=regserver.settings.dev
    - cd ..
    - grunt test
{'fraction_non_alphanumeric': 0.1132420091324201, 'fraction_numerical': 0.0073059360730593605, 'mean_word_length': 2.070028011204482, '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': '1585937', 'n_tokens_mistral': 396, 'n_tokens_neox': 376, 'n_words': 103}