<commit_before>dist: trusty

language: python
python:
  - "2.7"

addons:
  apt:
    update: true
    packages:
    - python-gi
    - gir1.2-gstreamer-1.0
    - gir1.2-gst-plugins-base-1.0

cache:
  - pip
  - apt

env:
  global:
    - PIPENV_VENV_IN_PROJECT=1

script:
  - pip install --user pipenv
  - pipenv --python 2.7 --site-packages install --dev
  - pipenv run flake8 --ignore=W191,I201 --exclude .venv
  - pipenv check
  - pipenv run py.test -n 1 -v --cov=mopidy_tachikoma --cov-report=term-missing --cov-fail-under=100

after_success:
  - coveralls

deploy:
  provider: pypi
  user: palfrey<commit_msg>Run pipenv early<commit_after>dist: trusty

language: python
python:
  - "2.7"

before_install:
  - pip install pipenv
  - pipenv --python 2.7 --site-packages install --dev

addons:
  apt:
    update: true
    packages:
    - python-gi
    - gir1.2-gstreamer-1.0
    - gir1.2-gst-plugins-base-1.0

cache:
  - pip
  - apt

env:
  global:
    - PIPENV_VENV_IN_PROJECT=1

script:
  - pipenv run flake8 --ignore=W191,I201 --exclude .venv
  - pipenv check
  - pipenv run py.test -n 1 -v --cov=mopidy_tachikoma --cov-report=term-missing --cov-fail-under=100

after_success:
  - coveralls

deploy:
  provider: pypi
  user: palfrey
{'fraction_non_alphanumeric': 0.1273317112733171, 'fraction_numerical': 0.038929440389294405, 'mean_word_length': 2.466292134831461, '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': '283974', 'n_tokens_mistral': 526, 'n_tokens_neox': 501, 'n_words': 111}