<commit_before>language: python

python:
  - "2.7"

env:
  - VERSION="8.0" ODOO_REPO="odoo/odoo"
  - VERSION="8.0" ODOO_REPO="OCA/OCB"


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
  #- sudo apt-get update
  #- sudo apt-get install openoffice.org python-genshi python-cairo python-openoffice python-lxml python-uno
  #- sudo apt-get install zip
  #- bzr branch lp:aeroolib /tmp/aeroolib
  #- bzr branch lp:aeroo /tmp/aeroo
  #- pushd /tmp/aeroolib/aeroolib; sudo python setup.py install; popd

script:
    - travis_run_tests

after_success:
  coveralls<commit_msg>[FIX] travis: Fix file .travis.yml to use version and virtualenv<commit_after>language: python

python:
  - "2.7"

env:
  - VERSION="8.0" ODOO_REPO="odoo/odoo"
  - VERSION="8.0" ODOO_REPO="OCA/OCB"

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
  #- sudo apt-get update
  #- sudo apt-get install openoffice.org python-genshi python-cairo python-openoffice python-lxml python-uno
  #- sudo apt-get install zip
  #- bzr branch lp:aeroolib /tmp/aeroolib
  #- bzr branch lp:aeroo /tmp/aeroo
  #- pushd /tmp/aeroolib/aeroolib; sudo python setup.py install; popd

script:
    - travis_run_tests ${VERSION}

after_success:
  coveralls
{'fraction_non_alphanumeric': 0.12752114508783344, 'fraction_numerical': 0.007807417046193884, 'mean_word_length': 3.8364779874213837, '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': '3767848', 'n_tokens_mistral': 618, 'n_tokens_neox': 591, 'n_words': 116}