<commit_before>language: python
python:
- '3.5'
- '3.6'
notifications:
  email: false
env:
  matrix:
  - NUMPY="==1.10.1"
  - NUMPY="==1.11.3"
  - NUMPY="==1.12.1"
  - NUMPY="==1.13.1"
  - NUMPY="==1.14.3"
addons:
  apt:
    packages:
    # fftw libraries
    - libfftw3-dev
    - libfftw3-3
install:
# numpy (must be installed before pyfftw)
- travis_retry pip install "numpy$NUMPY"
# libraries that do not have wheels on PyPI
- travis_retry pip install pyfftw --only-binary pyfftw
# everything else
- travis_retry pip install .
# coverage packages
- travis_retry pip install coverage codecov
- travis_retry pip install flake8
- pip freeze
script:
- coverage run --source=odtbrain ./setup.py test
- coverage report -m
- codecov
- flake8 odtbrain
- flake8 examples
- flake8 tests
deploy:
  provider: pypi
  user: "ci_qpi"
  password:
    secure: "<KEY>
  on:
    tags: true
  distributions: "sdist bdist_wheel"
  skip_cleanup: true
  skip_existing: true

<commit_msg>ci: also test against latest numpy<commit_after>language: python
python:
- '3.5'
- '3.6'
notifications:
  email: false
env:
  matrix:
  - NUMPY="==1.10.1"
  - NUMPY="==1.11.3"
  - NUMPY="==1.12.1"
  - NUMPY="==1.13.1"
  - NUMPY="==1.14.3"
  - NUMPY="==1.16.2"
  - NUMPY=""
addons:
  apt:
    packages:
    # fftw libraries
    - libfftw3-dev
    - libfftw3-3
install:
# numpy (must be installed before pyfftw)
- travis_retry pip install "numpy$NUMPY"
# libraries that do not have wheels on PyPI
- travis_retry pip install pyfftw --only-binary pyfftw
# everything else
- travis_retry pip install .
# coverage packages
- travis_retry pip install coverage codecov
- travis_retry pip install flake8
- pip freeze
script:
- coverage run --source=odtbrain ./setup.py test
- coverage report -m
- codecov
- flake8 odtbrain
- flake8 examples
- flake8 tests
deploy:
  provider: pypi
  user: "ci_qpi"
  password:
    secure: "<KEY>
  on:
    tags: true
  distributions: "sdist bdist_wheel"
  skip_cleanup: true
  skip_existing: true


{'fraction_non_alphanumeric': 0.1231774761186526, 'fraction_numerical': 0.033182503770739065, 'mean_word_length': 3.234042553191489, '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': '1585288', 'n_tokens_mistral': 797, 'n_tokens_neox': 776, 'n_words': 205}