<commit_before>language: python
linux_before_install: &linuxbefore
  - sudo apt-get install -y texlive-latex-base pgf texlive-pictures texlive-latex-extra
  - sudo apt-get install -y libblas-dev liblapack-dev libatlas-base-dev gfortran

jobs:
  include:
    - name:  "Python 3.6 on Xenial Linux"
      dist: xenial
      before_install: *linuxbefore
      python: 3.6
    - name: "Python 3.7 on Xenial Linux"
      dist: xenial
      before_install: *linuxbefore
      python: 3.7
    - name: "Python 3.8 on Xenial Linux"
      dist: xenial
      before_install: *linuxbefore
      python: 3.8
    - name: "Python 3.7.4 on macOS"
      os: osx
      osx_image: xcode11.2  # Python 3.7.4 running on macOS 10.14.4
      language: shell       # 'language: python' is an error on Travis CI macOS
      before_install:
        - brew cask install mactex
    - name: "Python 3.8.0 on Windows"
      os: windows           # Windows 10.0.17134 N/A Build 17134
      language: shell       # 'language: python' is an error on Travis CI Windows
      before_install:
        - choco install python --version 3.8.0
        - choco install miktex.portable
        - python -m pip install --upgrade pip
      env: PATH=/c/Python38:/c/Python38/Scripts:$PATH

install:
  - pip3 install --editable ".[dev]"
script:
  - python3 manage.py test
after_success:
  - coverage run --source=survey --omit=survey/migrations/* ./manage.py test
  - coverage html
  - coveralls
<commit_msg>Permit Windows tests on Travis to fail fast<commit_after>language: python
linux_before_install: &linuxbefore
  - sudo apt-get install -y texlive-latex-base pgf texlive-pictures texlive-latex-extra
  - sudo apt-get install -y libblas-dev liblapack-dev libatlas-base-dev gfortran

jobs:
  fast_finish: true
  include:
    - name:  "Python 3.6 on Xenial Linux"
      dist: xenial
      before_install: *linuxbefore
      python: 3.6
    - name: "Python 3.7 on Xenial Linux"
      dist: xenial
      before_install: *linuxbefore
      python: 3.7
    - name: "Python 3.8 on Xenial Linux"
      dist: xenial
      before_install: *linuxbefore
      python: 3.8
    - name: "Python 3.7.4 on macOS"
      os: osx
      osx_image: xcode11.2  # Python 3.7.4 running on macOS 10.14.4
      language: shell       # 'language: python' is an error on Travis CI macOS
      before_install:
        - brew cask install mactex
    - name: "Python 3.8.0 on Windows"
      os: windows           # Windows 10.0.17134 N/A Build 17134
      language: shell       # 'language: python' is an error on Travis CI Windows
      before_install:
        - choco install python --version 3.8.0
        - choco install miktex.portable
        - python -m pip install --upgrade pip
      env: PATH=/c/Python38:/c/Python38/Scripts:$PATH
  allow_failures:
    - name: "Python 3.8.0 on Windows"
      os: windows           # Windows 10.0.17134 N/A Build 17134
      language: shell       # 'language: python' is an error on Travis CI Windows
      before_install:
        - choco install python --version 3.8.0
        - choco install miktex.portable
        - python -m pip install --upgrade pip
      env: PATH=/c/Python38:/c/Python38/Scripts:$PATH

install:
  - pip3 install --editable ".[dev]"
script:
  - python3 manage.py test
after_success:
  - coverage run --source=survey --omit=survey/migrations/* ./manage.py test
  - coverage html
  - coveralls

{'fraction_non_alphanumeric': 0.09456264775413711, 'fraction_numerical': 0.03693853427895981, 'mean_word_length': 2.3024390243902437, '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': '43093', 'n_tokens_mistral': 1222, 'n_tokens_neox': 1091, 'n_words': 346}