<commit_before>language: python
python:
    - '2.6'
    - '2.7'
addons:
    sauce_connect: true
env:
    global:
        - secure: <KEY>
        - secure: gawGht7PKM+MNKYqPROAn4LC1VDSM9UAXXAIhZtK1/CzA3g4wanikuMdXuoqJhAODaa8dmOE57LRm+Ow79qW9ATY5PnvOp7pxnMZWlOatJtxFo3tGZgMsj5KPlptdPfxl1NTXbPPgFgwQycy1EG+FkZ7U0Z5RM7mvldVeCZc9pI=
install:
    - pip install zc.buildout distribute selenium
    - buildout
    - echo "yes" | sudo add-apt-repository ppa:chris-lea/node.js
    - sudo apt-get update
    - sudo apt-get install nodejs phantomjs
    - sudo npm install -g grunt-cli grunt-init bower
    - sudo npm install
    - bower install
    - cp example-config.json config.json
script:
    - ./require.sh
    - ./bin/test
    - ./dummy_api/start.sh
    - echo 'API_BASE = "http://localhost:8282/"' >> regulations/settings/local_settings.py
    - ./run_server.sh &
    - sleep 5
    - if [ "$SAUCE_USERNAME" ] && [ "$SAUCE_ACCESS_KEY" ]; then nosetests regulations/uitests/*.py; fi
    - grunt test
<commit_msg>testing fix for travis<commit_after>language: python
python:
    - '2.6'
    - '2.7'
addons:
    sauce_connect: true
env:
    global:
        - secure: <KEY>
        - secure: gawGht7PKM+MNKYqPROAn4LC1VDSM9UAXXAIhZtK1/CzA3g4wanikuMdXuoqJhAODaa8dmOE57LRm+Ow79qW9ATY5PnvOp7pxnMZWlOatJtxFo3tGZgMsj5KPlptdPfxl1NTXbPPgFgwQycy1EG+FkZ7U0Z5RM7mvldVeCZc9pI=
before_install:
    - if ![ "$SAUCE_USERNAME" ]; then $SAUCE_USERNAME = ''; fi
    - if ![ "$SAUCE_ACCESS_KEY" ]; then $SAUCE_ACCESS_KEY = ''; fi
install:
    - pip install zc.buildout distribute selenium
    - buildout
    - echo "yes" | sudo add-apt-repository ppa:chris-lea/node.js
    - sudo apt-get update
    - sudo apt-get install nodejs phantomjs
    - sudo npm install -g grunt-cli grunt-init bower
    - sudo npm install
    - bower install
    - cp example-config.json config.json
script:
    - ./require.sh
    - ./bin/test
    - ./dummy_api/start.sh
    - echo 'API_BASE = "http://localhost:8282/"' >> regulations/settings/local_settings.py
    - ./run_server.sh &
    - sleep 5
    - if [ "$SAUCE_USERNAME" ] && [ "$SAUCE_ACCESS_KEY" ]; then nosetests regulations/uitests/*.py; fi
    - grunt test

{'fraction_non_alphanumeric': 0.11582833410244578, 'fraction_numerical': 0.030456852791878174, 'mean_word_length': 2.9204339963833634, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, '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': '2696506', 'n_tokens_mistral': 938, 'n_tokens_neox': 889, 'n_words': 152}