<commit_before>language: python
python:
  - "2.7"
env:
  - DJANGO_SETTINGS_MODULE=settings

before_install:
  - "export DISPLAY=:99.0"
  - "sh -e /etc/init.d/xvfb start"

install:
    - npm install
    - "pip install -r requirements.txt"
    - "pip install -r test_requirements.txt"
    - "pip install coveralls"

script:
    - ./manage.py syncdb --noinput --settings=testserver.settings
    - ./manage.py migrate --settings=testserver.settings
    - coverage run ./manage.py test edx_notifications
    - coverage report -m
    - gulp test
    - bash ./run_bokchoy_tests.sh
    - pep8 edx_notifications
    - pylint edx_notifications --report=no

after_success: coveralls

branches:
    only:
      - master<commit_msg>undo travis changes<commit_after>language: python
python:
  - "2.7"
env:
  - DJANGO_SETTINGS_MODULE=settings

before_install:
  - "export DISPLAY=:99.0"
  - "sh -e /etc/init.d/xvfb start"

install:
    - npm install
    - "pip install -r requirements.txt"
    - "pip install -r test_requirements.txt"
    - "pip install coveralls"

script:
    - ./manage.py syncdb --noinput --settings=testserver.settings
    - ./manage.py migrate --settings=testserver.settings
    - coverage run ./manage.py test edx_notifications
    - coverage report -m
    - gulp test
    - bash ./run_bokchoy_tests.sh
    - pep8 edx_notifications
    - pylint edx_notifications --report=no

after_success: coveralls
{'fraction_non_alphanumeric': 0.11292613636363637, 'fraction_numerical': 0.008522727272727272, 'mean_word_length': 2.7374005305039786, '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': '1938005', 'n_tokens_mistral': 509, 'n_tokens_neox': 490, 'n_words': 112}