<commit_before>language: python
sudo: required

stages:
  - name: test
  - name: deploy to pypi
    if: type = push AND tag =~ ^\d+\.\d+\.\d+

jobs:
  fast_finish: true
  include:
    - env: TOXENV=flake8

    - env: TOXENV=mypy

    - env: TOXENV=pypy3
      cache: pip
      python: pypy3
      before_install: &before_install
        - docker-compose run -d -p 8080:8080 crossbar

    - env: TOXENV=py35
      before_install: *before_install
      after_success: &after_success
        - pip install coveralls
        - coveralls

    - env: TOXENV=py36
      python: "3.6"
      before_install: *before_install
      after_success: *after_success

    - stage: deploy to pypi
      install: pip install "setuptools >= 36.2.7"
      script: skip
      deploy:
        provider: pypi
        user: agronholm
        password:
          secure: <KEY>
        distributions: sdist bdist_wheel
        on:
          tags: true

python: "3.5.2"<commit_msg>Only require sudo where docker-compose is used<commit_after>language: python

stages:
  - name: test
  - name: deploy to pypi
    if: type = push AND tag =~ ^\d+\.\d+\.\d+

jobs:
  fast_finish: true
  include:
    - env: TOXENV=flake8

    - env: TOXENV=mypy

    - env: TOXENV=pypy3
      sudo: required
      cache: pip
      python: pypy3
      before_install: &before_install
        - docker-compose run -d -p 8080:8080 crossbar

    - env: TOXENV=py35
      sudo: required
      before_install: *before_install
      after_success: &after_success
        - pip install coveralls
        - coveralls

    - env: TOXENV=py36
      sudo: required
      python: "3.6"
      before_install: *before_install
      after_success: *after_success

    - stage: deploy to pypi
      install: pip install "setuptools >= 36.2.7"
      script: skip
      deploy:
        provider: pypi
        user: agronholm
        password:
          secure: <PASSWORD>X79g5Q/Yk/BRV65AIRh6j16cdMqyaN9BwiA60LfLANCMA/twpsPEDIszAtrJi9A/I6RsIYa0lNSVHqjkMW1CVQTvwTmXF8f4aK066o1VCM/g/oLR7qHmZQHudhzhS+MqyzVSXbq97EQ6RFw4LWe/zNtUwCaGY5wEqZAUnqqjQfr/jR4RYiWzCdrjVXxa9hHc8y6CDtBkA0oMP6WDn0cgNPXatdjzytmeTSXiyaYnJK24TxnmD0FP8Iu7kmLRQnApCUsDOhxtlwA6o8I85FPm2VgUQlAEW3sGZUd7NQcYAzpy4gTnUx8BPVm1vacyFdtJtz9DDFRg3ydrcECvbycsolqN2wV08xBHXtoCbcfk7LBGTUzjN0N+Ko3Xm1vJlkHMnOnSNnlfmi2CNCg8pKM7t0XTycNeuJRiNgync69nmePiAzPUPS8Hp27NSqg9iMQOMXN4+BPLyzWVj74VfmcTBSOV8WZvTBk8wWF+NUZI+okBy3B0PDTtw8hO51yyC8lWzpMfOO47IU9GYYa5v5Xpr/IASvLm9HRDiUpLAxIDHMJqgUKEz52FLAlBn3UsTopc6HhtA5P5U1RaPFOp8Zfh0bYzvcHHKqrZAEZkyNArzYBm5rxIl0BIx9LxhPQUv3jVuaDsfeiMdMA4RMCshKI9So=
        distributions: sdist bdist_wheel
        on:
          tags: true

python: "3.5.2"
{'fraction_non_alphanumeric': 0.07527286413248024, 'fraction_numerical': 0.055701919458035376, 'mean_word_length': 2.949479940564636, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, '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': '7093376', 'n_tokens_mistral': 1249, 'n_tokens_neox': 1147, 'n_words': 177}