<commit_before>language: python
python:
  - "2.7"
  - "3.5"
  - "3.6"

env:
  - DJANGO="Django==1.10.5"
  - DJANGO="Django==1.11.9"
  - DJANGO="Django==2.1"

addons:
  postgresql: "9.4"

before_install:
  - sudo apt-get update
  - sudo apt-get remove libpq-dev -y
  - sudo apt-get install postgresql-server-dev-9.4

install:
  - pip install $DJANGO
  - pip install .
  - pip install -r requirements-test.txt
  - pip install coveralls

services:
  - postgresql

before_script:
  - psql -c "CREATE DATABASE travisdb;" -U postgres

script:
  - coverage run --source=django_datawatch manage.py test
  - flake8 django_datawatch
<commit_msg>exclude django 2.1 with python 2.7<commit_after>language: python
python:
  - "2.7"
  - "3.5"
  - "3.6"

env:
  - DJANGO="Django==1.10.5"
  - DJANGO="Django==1.11.9"
  - DJANGO="Django==2.1"

matrix:
  exclude:
    - python: 2.7
      env: DJANGO="Django==2.1"

addons:
  postgresql: "9.4"

before_install:
  - sudo apt-get update
  - sudo apt-get remove libpq-dev -y
  - sudo apt-get install postgresql-server-dev-9.4

install:
  - pip install $DJANGO
  - pip install .
  - pip install -r requirements-test.txt
  - pip install coveralls

services:
  - postgresql

before_script:
  - psql -c "CREATE DATABASE travisdb;" -U postgres

script:
  - coverage run --source=django_datawatch manage.py test
  - flake8 django_datawatch

{'fraction_non_alphanumeric': 0.1351947097722263, 'fraction_numerical': 0.036737692872887584, 'mean_word_length': 2.8366197183098594, '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': '2696109', 'n_tokens_mistral': 573, 'n_tokens_neox': 552, 'n_words': 125}