<commit_before>language: python

python:
  - "2.7"

sudo: true
cache: pip

addons:
  apt:
    packages:
      - expect-dev  # provides unbuffer utility
      - python-lxml # because pip installation is slow
      - bzr
      - wkhtmltopdf

env:
  - VERSION="7.0" LINT_CHECK="1"
  - VERSION="7.0" ODOO_REPO="odoo/odoo" LINT_CHECK="0"
  - VERSION="7.0" ODOO_REPO="OCA/OCB" LINT_CHECK="0"
  - VERSION="7.0" UNIT_TEST="1" LINT_CHECK="0"

before_install:
  - sudo pip install GitPython bzr
  - sudo pip install cairosvg


virtualenv:
  system_site_packages: true

install:
  - git clone https://github.com/oca/maintainer-quality-tools.git ${HOME}/maintainer-quality-tools
  - export PATH=${HOME}/maintainer-quality-tools/travis:${PATH}
  - travis_install_nightly

script:
  - travis_run_tests

after_success:
  - travis_after_tests_success
<commit_msg>[FIX] travis;<commit_after>language: python

python:
  - "2.7"

sudo: true
cache: pip

addons:
  apt:
    packages:
      - expect-dev  # provides unbuffer utility
      - python-lxml # because pip installation is slow
      - bzr
      - wkhtmltopdf

env:
  - VERSION="7.0" LINT_CHECK="1"
  - VERSION="7.0" ODOO_REPO="odoo/odoo" LINT_CHECK="0"
  - VERSION="7.0" ODOO_REPO="OCA/OCB" LINT_CHECK="0"
  - VERSION="7.0" UNIT_TEST="1" LINT_CHECK="0"

before_install:
  - sudo pip install GitPython bzr
  - sudo pip install cairosvg
  - sudo pip install unicodecsv


virtualenv:
  system_site_packages: true

install:
  - git clone https://github.com/oca/maintainer-quality-tools.git ${HOME}/maintainer-quality-tools
  - export PATH=${HOME}/maintainer-quality-tools/travis:${PATH}
  - travis_install_nightly

script:
  - travis_run_tests

after_success:
  - travis_after_tests_success

{'fraction_non_alphanumeric': 0.12514484356894554, 'fraction_numerical': 0.01738122827346466, 'mean_word_length': 3.544736842105263, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '3972643', 'n_tokens_mistral': 688, 'n_tokens_neox': 663, 'n_words': 125}