<commit_before>language: python
python: 3.5
sudo: false
cache: pip
env:
  - TOXENV=flake8-py27
  - TOXENV=flake8-py35
  - TOXENV=readme-py27
  - TOXENV=py27-dj18
  - TOXENV=py27-dj19
  - TOXENV=py27-djmaster
  - TOXENV=py34-dj18
  - TOXENV=py34-dj19
  - TOXENV=py34-djmaster
  - TOXENV=py35-dj18
  - TOXENV=py35-dj19
  - TOXENV=py35-djmaster
matrix:
  allow_failures:
    - env: TOXENV=py27-djmaster
    - env: TOXENV=py34-djmaster
    - env: TOXENV=py35-djmaster
    - env: TOXENV=pypy-djmaster
  include:
    - env: TOXENV=pypy-dj18
      python: pypy
    - env: TOXENV=pypy-dj19
      python: pypy
install:
  - pip install tox
script: tox -v
after_success:
  - pip install codecov
  - codecov
  - coverage report -m
branches:
  except: templates/1.5.x templates/1.6.x
deploy:
  provider: pypi
  user: jazzband
  distributions: "sdist bdist_wheel"
  password:
    secure: <KEY>
  on:
    tags: true
    repo: jazzband/django-configurations
    condition: "$TOXENV = py27-dj19"<commit_msg>codecov: use flags based on TOXENV<commit_after>language: python
python: 3.5
sudo: false
cache: pip
env:
  - TOXENV=flake8-py27
  - TOXENV=flake8-py35
  - TOXENV=readme-py27
  - TOXENV=py27-dj18
  - TOXENV=py27-dj19
  - TOXENV=py27-djmaster
  - TOXENV=py34-dj18
  - TOXENV=py34-dj19
  - TOXENV=py34-djmaster
  - TOXENV=py35-dj18
  - TOXENV=py35-dj19
  - TOXENV=py35-djmaster
matrix:
  allow_failures:
    - env: TOXENV=py27-djmaster
    - env: TOXENV=py34-djmaster
    - env: TOXENV=py35-djmaster
    - env: TOXENV=pypy-djmaster
  include:
    - env: TOXENV=pypy-dj18
      python: pypy
    - env: TOXENV=pypy-dj19
      python: pypy
install:
  - pip install tox
script: tox -v
after_success:
  - pip install codecov
  - codecov --required -X gcov --flags ${TOXENV//-/ }
  - coverage report -m
branches:
  except: templates/1.5.x templates/1.6.x
deploy:
  provider: pypi
  user: jazzband
  distributions: "sdist bdist_wheel"
  password:
    secure: <KEY>
  on:
    tags: true
    repo: jazzband/django-configurations
    condition: "$TOXENV = py27-dj19"
{'fraction_non_alphanumeric': 0.11600587371512482, 'fraction_numerical': 0.056779246206558984, 'mean_word_length': 2.8933333333333335, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '2580573', 'n_tokens_mistral': 966, 'n_tokens_neox': 873, 'n_words': 165}