<commit_before>sudo: false
language: python
git:
  depth: 3
  lfs_skip_smudge: true
  submodules: false
branches:
  only:
    - develop
    - /^v\d+\.\d+\.\d+$/
python:
  - 3.6
  - 3.7
  - 3.6-dev
  - 3.7-dev
  - 3.8-dev
  - nightly
  - pypy3.5
virtualenv:
  system_site_packages: true
matrix:
  include:
    - env: DISTRIB="conda" PYTHON_VERSION="3.6" COVERAGE="false"
    - os: osx
      language: generic
      env: TRAVIS_PYTHON_VERSION=3.6
      python: 3.6
      before_install: pyenv install 3.6.0
  allow_failures:
    - os: osx
    - python: 3.6-dev
    - python: 3.7-dev
    - python: 3.8-dev
    - python: nightly
    - python: pypy3.5
  fast_finish: true
install:
  - source tests/travis_install.sh
script:
  - python setup.py test
after_success:
  - if [[ "$COVERAGE" == "true" ]]; then coveralls || echo "failed"; fi
after_script:
  - travis-cleanup
cache:
  pip: true
  directories:
    - $HOME/miniconda<commit_msg>Enable travis deploy to PyPI<commit_after>sudo: false
language: python
git:
  depth: 3
  lfs_skip_smudge: true
  submodules: false
branches:
  only:
    - develop
    - /^v\d+\.\d+\.\d+$/
python:
  - 3.6
  - 3.7
  - 3.6-dev
  - 3.7-dev
  - 3.8-dev
  - nightly
  # - pypy3.6
virtualenv:
  system_site_packages: true
matrix:
  include:
    - env: DISTRIB="conda" PYTHON_VERSION="3.6" COVERAGE="false"
    - os: osx
      language: generic
      env: TRAVIS_PYTHON_VERSION=3.6
      python: 3.6
      before_install: pyenv install 3.6.0
  allow_failures:
    - os: osx
    - python: 3.6-dev
    - python: 3.7-dev
    - python: 3.8-dev
    - python: nightly
    - python: pypy3.5
  fast_finish: true
install:
  - source tests/travis_install.sh
# script:
  # - python setup.py test
# after_success:
  # - if [[ "$COVERAGE" == "true" ]]; then coveralls || echo "failed"; fi
after_script:
  - travis-cleanup
cache:
  pip: true
  directories:
    - $HOME/miniconda
deploy:
  provider: pypi
  user: 
    secure: "<KEY>
  password:
    secure: "<KEY>
  distributions: "sdist bdist_wheel"
  on:
    python: 3.6
    branch: develop
{'fraction_non_alphanumeric': 0.13560975609756099, 'fraction_numerical': 0.03024390243902439, 'mean_word_length': 2.4013266998341627, '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': '165249', 'n_tokens_mistral': 859, 'n_tokens_neox': 829, 'n_words': 184}