<commit_before>language: python
dist: xenial
services:
  - xvfb
before_install:
  - sudo apt-get install python-pyatspi libsdl2-dev
  # In normal circunstances we would just do "pip install wxPython"
  #- pip install https://wxpython.org/Phoenix/snapshot-builds/linux/gtk3/ubuntu-14.04/wxPython-4.0.0a3.dev3059+4a5c5d9-cp27-cp27mu-linux_x86_64.whl
  - pip install $WXPACK
install:
  - pip install -r requirements.txt
  - pip install -r requirements-dev.txt
  - pip install .
matrix:
  include:
    - python: "2.7"
      env:
        - WXPACK=https://extras.wxpython.org/wxPython4/extras/linux/gtk3/ubuntu-16.04/wxPython-4.0.7.post2-cp27-cp27mu-linux_x86_64.whl
    - python: "3.7"
      env:
        - WXPACK=https://extras.wxpython.org/wxPython4/extras/linux/gtk3/ubuntu-16.04/wxPython-4.0.7.post2-cp37-cp37m-linux_x86_64.whl
script:
  - invoke test<commit_msg>Replaces python 2.7 by 3.6<commit_after>language: python
dist: xenial
services:
  - xvfb
before_install:
  - sudo apt-get install python-pyatspi libsdl2-dev
  # In normal circunstances we would just do "pip install wxPython"
  #- pip install https://wxpython.org/Phoenix/snapshot-builds/linux/gtk3/ubuntu-14.04/wxPython-4.0.0a3.dev3059+4a5c5d9-cp27-cp27mu-linux_x86_64.whl
  - pip install $WXPACK
install:
  - pip install -r requirements.txt
  - pip install -r requirements-dev.txt
  - pip install .
matrix:
  include:
    - python: "3.6"
      env:
        - WXPACK=https://extras.wxpython.org/wxPython4/extras/linux/gtk3/ubuntu-16.04/wxPython-4.0.7.post2-cp36-cp36m-linux_x86_64.whl
    - python: "3.7"
      env:
        - WXPACK=https://extras.wxpython.org/wxPython4/extras/linux/gtk3/ubuntu-16.04/wxPython-4.0.7.post2-cp37-cp37m-linux_x86_64.whl
script:
  - invoke test
{'fraction_non_alphanumeric': 0.1313364055299539, 'fraction_numerical': 0.07834101382488479, 'mean_word_length': 3.185542168674699, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 6, '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': '1614923', 'n_tokens_mistral': 787, 'n_tokens_neox': 705, 'n_words': 107}