<commit_before>language: python
python:
  - "3.5"
env:
  - DJANGO_SETTINGS_MODULE=ofm_helper.settings.test
before_install:
  - sudo apt-get -qq update
  - sudo apt-get install xvfb
  - sudo apt-get install build-essential chrpath libssl-dev libxft-dev
  - sudo apt-get install libfreetype6 libfreetype6-dev
  - sudo apt-get install libfontconfig1 libfontconfig1-dev
  - export PHANTOM_VERSION="2.1.0"
  - export PHANTOM_JS="phantomjs-$PHANTOM_VERSION"
  - wget https://bitbucket.org/ariya/phantomjs/get/$PHANTOM_VERSION.zip -O $PHANTOM_JS.zip
  - unzip $PHANTOM_JS.zip
  - sudo mv ariya-phantomjs-* /usr/local/share/$PHANTOM_JS
  - sudo ln -sf /usr/local/share/$PHANTOM_JS/bin/phantomjs /usr/local/bin
install:
  - pip install -r requirements.txt
  - pip install -r travis_requirements.txt
  - pip install coveralls
  - mkdir database
script:
  - ./manage.py migrate
  - coverage run --branch --source . manage.py test

notifications:
  email:
    recipients:
      - <EMAIL>
      - <EMAIL>
    on_success: change
    on_failure: always

after_success: coveralls<commit_msg>we do not need phantom in travis as long as the functionaltests do not work<commit_after>language: python
python:
  - "3.5"
env:
  - DJANGO_SETTINGS_MODULE=ofm_helper.settings.test
install:
  - pip install -r requirements.txt
  - pip install -r travis_requirements.txt
  - pip install coveralls
  - mkdir database
script:
  - ./manage.py migrate
  - coverage run --branch --source . manage.py test

notifications:
  email:
    recipients:
      - <EMAIL>
      - <EMAIL>
    on_success: change
    on_failure: always

after_success: coveralls
{'fraction_non_alphanumeric': 0.09956709956709957, 'fraction_numerical': 0.006802721088435374, 'mean_word_length': 3.2025974025974024, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 1, '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': '6454413', 'n_tokens_mistral': 583, 'n_tokens_neox': 564, 'n_words': 138}