<commit_before>language: python

env:
  global:
    - SITL_SPEEDUP=10
    - SITL_RATE=200

python:
  - 2.7
  #- 3.6

before_install:
  - pip install --upgrade pip

install:
  - pip install -r requirements.txt
  - pip install flake8

before_script:
  # stop the build if there are Python syntax errors or undefined names
  - flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics
  # exit-zero treats all errors as warnings.  The GitHub editor is 127 chars wide
  - flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics

script:<commit_msg>Travis: build for Python 3; resolve #816<commit_after>language: python

env:
  global:
    - SITL_SPEEDUP=10
    - SITL_RATE=200

python:
  - 2.7
  - 3.6

before_install:
  - pip install --upgrade pip

install:
  - pip install -r requirements.txt
  - pip install flake8

before_script:
  # stop the build if there are Python syntax errors or undefined names
  - flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics
  # exit-zero treats all errors as warnings.  The GitHub editor is 127 chars wide
  - flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics

script:
{'fraction_non_alphanumeric': 0.10909090909090909, 'fraction_numerical': 0.06115702479338843, 'mean_word_length': 2.9704918032786884, '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': '1110853', 'n_tokens_mistral': 467, 'n_tokens_neox': 422, 'n_words': 125}