<commit_before>sudo: false
cache: pip

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

language: python

python:
  - "2.7"

env:
  global:
  - VERSION="8.0" TESTS="0" LINT_CHECK="0" TRANSIFEX="0"
  - TRANSIFEX_USER='<EMAIL>'
  - secure: <KEY>
  matrix:
  - LINT_CHECK="1"
  - TESTS="1" ODOO_REPO="odoo/odoo"
  - TESTS="1" ODOO_REPO="OCA/OCB"
  - TESTS="1" ODOO_REPO="odoo/odoo" INCLUDE="website_signup_legal_page_required"
  - TESTS="1" ODOO_REPO="OCA/OCB" INCLUDE="website_signup_legal_page_required"
  - TRANSIFEX="1"

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:<commit_msg>[FIX] Test cookie notice module separate to fix tests of other modules<commit_after>sudo: false
cache: pip

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

language: python

python:
  - "2.7"

env:
  global:
  - VERSION="8.0" TESTS="0" LINT_CHECK="0" TRANSIFEX="0"
  - TRANSIFEX_USER='<EMAIL>'
  - secure: eNfbQI7Pkp3mjTFQgjrVVldmyE/Yn3+iCMVykhXppC85dJaCFMpjwPUfZa7p38tnnH7jhng2JL2tAXnJ4uOry0B3m9xYR7fNYXg/9uj1988FHvpDhfDFEKcMF8s70mr11HRijj6U8p6WDt/0ygD6aZ0LJzWzxhMFecFavOb6XOw=
  matrix:
  - LINT_CHECK="1"
  - TESTS="1" ODOO_REPO="odoo/odoo" INCLUDE="website_legal_page,website_signup_legal_page_required"
  - TESTS="1" ODOO_REPO="OCA/OCB"   INCLUDE="website_legal_page,website_signup_legal_page_required"
  - TESTS="1" ODOO_REPO="odoo/odoo" INCLUDE="website_cookie_notice"
  - TESTS="1" ODOO_REPO="OCA/OCB"   INCLUDE="website_cookie_notice"
  - TESTS="1" ODOO_REPO="odoo/odoo" EXCLUDE="website_legal_page,website_signup_legal_page_required,website_cookie_notice"
  - TESTS="1" ODOO_REPO="OCA/OCB"   EXCLUDE="website_legal_page,website_signup_legal_page_required,website_cookie_notice"
  - TRANSIFEX="1"

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:
{'fraction_non_alphanumeric': 0.12694974003466206, 'fraction_numerical': 0.026429809358752165, 'mean_word_length': 5.190348525469169, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 6, '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': '3038458', 'n_tokens_mistral': 1018, 'n_tokens_neox': 952, 'n_words': 128}