You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
834 B

  1. language: python
  2. python:
  3. - "2.7"
  4. sudo: false
  5. cache: pip
  6. addons:
  7. apt:
  8. packages:
  9. - expect-dev # provides unbuffer utility
  10. - python-lxml # because pip installation is slow
  11. env:
  12. - VERSION="9.0" LINT_CHECK="1"
  13. - VERSION="9.0" ODOO_REPO="odoo/odoo" LINT_CHECK="0"
  14. - VERSION="9.0" ODOO_REPO="OCA/OCB" LINT_CHECK="0"
  15. - VERSION="9.0" UNIT_TEST="1" LINT_CHECK="0"
  16. virtualenv:
  17. system_site_packages: true
  18. install:
  19. - pip install anybox.testing.openerp
  20. - git clone https://github.com/OCA/maintainer-quality-tools.git ${HOME}/maintainer-quality-tools
  21. - export PATH=${HOME}/maintainer-quality-tools/travis:${PATH}
  22. - travis_install_nightly
  23. # example: dependency
  24. # - git clone https://github.com/OCA/webkit-tools -b ${VERSION} $HOME/webkit-tools
  25. script:
  26. - travis_run_tests
  27. after_success:
  28. coveralls