<commit_before>sudo: false
language: python
python:
  - 3.6
  - 3.5
  - 2.7
cache: pip
env:
  global:
    - PYTHONWARNINGS=default,ignore::PendingDeprecationWarning,ignore::ResourceWarning
  matrix:
    - DJANGO='>=2.0,<2.1'
    - DJANGO='>=1.11,<1.12'
    - DJANGO='>=1.10,<1.11'
    - DJANGO='>=1.9,<1.10'
    - DJANGO='>=1.8,<1.9'
matrix:
  fast_finish: true
  exclude:
    - python: 2.7
      env: DJANGO='>=2.0,<2.1'
addons:
  apt:
    packages:
      - libmysqlclient-dev
services:
  - postgresql
  - mysql
install:
  - pip install flake8 coverage django$DJANGO psycopg2 mysqlclient -e .
before_script:
  - mysql -e 'create database test_project'
  - psql -c 'create database test_project;' -U postgres;
script:
  - flake8
  - coverage run -a tests/runtests.py
  - coverage run -a tests/runtests.py -d psql
  - coverage run -a tests/runtests.py -d mysql
after_success:
  - coverage report
deploy:
  provider: pypi
  user: etianen
  password:
    secure: rzaq3pbJz25SVXyR/fn+gLaYxu0LqCEE+wcesg8pjA8cLLvFdLvXi0ZjmixxVl2u4HlndZrUgwTrRGVIQR1TOL0jGRYOUCJDzAaZqJkg+Qykz89iKSnentyOpNJe6fRAHsqFxBESYZjG8JEZvtRv+JIZLY+QR+KCA1xaeu4Afpw=
  on:
    tags: true
    condition: $DJANGO='>=2.0,<2.1'
    python: 3.6
    repo: etianen/django-watson
notifications:
  email: false
<commit_msg>Fixing conditional deploy<commit_after>sudo: false
language: python
python:
  - 3.6
  - 3.5
  - 2.7
cache: pip
env:
  global:
    - PYTHONWARNINGS=default,ignore::PendingDeprecationWarning,ignore::ResourceWarning
  matrix:
    - DJANGO='>=2.0,<2.1'
    - DJANGO='>=1.11,<1.12'
    - DJANGO='>=1.10,<1.11'
    - DJANGO='>=1.9,<1.10'
    - DJANGO='>=1.8,<1.9'
matrix:
  fast_finish: true
  exclude:
    - python: 2.7
      env: DJANGO='>=2.0,<2.1'
addons:
  apt:
    packages:
      - libmysqlclient-dev
services:
  - postgresql
  - mysql
install:
  - pip install flake8 coverage django$DJANGO psycopg2 mysqlclient -e .
before_script:
  - mysql -e 'create database test_project'
  - psql -c 'create database test_project;' -U postgres;
script:
  - flake8
  - coverage run -a tests/runtests.py
  - coverage run -a tests/runtests.py -d psql
  - coverage run -a tests/runtests.py -d mysql
after_success:
  - coverage report
deploy:
  provider: pypi
  user: etianen
  password:
    secure: rzaq3pbJz25SVXyR/fn+gLaYxu0LqCEE+wcesg8pjA8cLLvFdLvXi0ZjmixxVl2u4HlndZrUgwTrRGVIQR1TOL0jGRYOUCJDzAaZqJkg+Qykz89iKSnentyOpNJe6fRAHsqFxBESYZjG8JEZvtRv+JIZLY+QR+KCA1xaeu4Afpw=
  on:
    tags: true
    condition: $DJANGO = '>=2.0,<2.1'
    python: 3.6
    repo: etianen/django-watson
notifications:
  email: false

{'fraction_non_alphanumeric': 0.128982128982129, 'fraction_numerical': 0.04895104895104895, 'mean_word_length': 3.416809605488851, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 17, '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': '852360', 'n_tokens_mistral': 1196, 'n_tokens_neox': 1146, 'n_words': 197}