<commit_before>language: python
cache: pip
matrix:
    include:
        - python: '2.7'
        - python: '3.4'
        - python: '3.5.1'     # Special, it doesn't have typing.Text
        - python: '3.5'       # Latest, e.g. 3.5.4
        - python: '3.6'
          env: USE_MYPY=true
        - python: '3.7'
          dist: xenial        # needed because Python 3.7 is broken on travis CI Trusty
          sudo: true
          env: USE_MYPY=true
        - python: '3.8-dev'
          dist: xenial        # needed because Python 3.8 is broken on travis CI Trusty
          sudo: true
          env: USE_MYPY=true
    allow_failures:
        - python: 3.8-dev
  
install:
    - pip install -r requirements.txt
    - if [[ $USE_MYPY == true ]]; then pip install -U mypy; fi
script:
    - pytest
    - if [[ $USE_MYPY == true ]]; then mypy pyannotate_*; fi<commit_msg>Fix Python 3.5.1 run on Travis-CI (#89)<commit_after>language: python
cache: pip
matrix:
    include:
        - python: '2.7'
        - python: '3.4'
        - python: '3.5.1'     # Special, it doesn't have typing.Text
          dist: trusty        # needed because xenial doesn't have 3.5.1
        - python: '3.5'       # Latest, e.g. 3.5.4
        - python: '3.6'
          env: USE_MYPY=true
        - python: '3.7'
          dist: xenial        # needed because Python 3.7 is broken on travis CI Trusty
          sudo: true
          env: USE_MYPY=true
        - python: '3.8-dev'
          dist: xenial        # needed because Python 3.8 is broken on travis CI Trusty
          sudo: true
          env: USE_MYPY=true
    allow_failures:
        - python: 3.8-dev
  
install:
    - pip install -r requirements.txt
    - if [[ $USE_MYPY == true ]]; then pip install -U mypy; fi
script:
    - pytest
    - if [[ $USE_MYPY == true ]]; then mypy pyannotate_*; fi
{'fraction_non_alphanumeric': 0.11645708037178787, 'fraction_numerical': 0.0306178239475123, 'mean_word_length': 1.6445086705202312, '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': '4060960', 'n_tokens_mistral': 646, 'n_tokens_neox': 627, 'n_words': 189}