<commit_before>sudo: required
services:
  - docker

language: python

python:
  # python3.4.2 has bug in http.cookies module, aiohttp provides fix
  - 3.4.2
  - 3.4.3
  - 3.5.2
  # - 3.5.3
  - 3.5
  - 3.6
  # - 'nightly'

os:
  - linux
#   - osx   # doesn't work on MacOSX -- the system has no Python installed

matrix:
  allow_failures:
    - python: '3.6-dev'
    - python: 'nightly'
    - os: osx

cache:
  directories:
  - $HOME/.cache/pip

before_cache:
  - rm -f $HOME/.cache/pip/log/debug.log

install:
  - sudo apt-get install enchant
  - pip install --upgrade pip wheel
  - pip install --upgrade setuptools
  - pip install --upgrade setuptools-git
  - pip install -r requirements-ci.txt
  - pip install aiodns
  - pip install codecov
  - if python -c "import sys; sys.exit(sys.version_info < (3,5))"; then<commit_msg>Add python 3.7 dev build to travis matrix<commit_after>sudo: required
services:
  - docker

language: python

python:
  # python3.4.2 has bug in http.cookies module, aiohttp provides fix
  - 3.4.2
  - 3.4.3
  - 3.5.2
  # - 3.5.3
  - 3.5
  - 3.6
  - 3.7-dev
  # - 'nightly'

os:
  - linux
#   - osx   # doesn't work on MacOSX -- the system has no Python installed

matrix:
  allow_failures:
    - python: '3.6-dev'
    - python: 'nightly'
    - os: osx

cache:
  directories:
  - $HOME/.cache/pip

before_cache:
  - rm -f $HOME/.cache/pip/log/debug.log

install:
  - sudo apt-get install enchant
  - pip install --upgrade pip wheel
  - pip install --upgrade setuptools
  - pip install --upgrade setuptools-git
  - pip install -r requirements-ci.txt
  - pip install aiodns
  - pip install codecov
  - if python -c "import sys; sys.exit(sys.version_info < (3,5))"; then
{'fraction_non_alphanumeric': 0.1276595744680851, 'fraction_numerical': 0.02955082742316785, 'mean_word_length': 2.319607843137255, 'pattern_counts': {'":': 0, '<': 5, '<?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': '1240096', 'n_tokens_mistral': 681, 'n_tokens_neox': 646, 'n_words': 181}