40 lines
989 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. global:
  13. - VERSION="8.0" TESTS="0" LINT_CHECK="0" TRANSIFEX="0"
  14. - TRANSIFEX_USER='transbot@odoo-community.org'
  15. - secure: GzvUeJ2NRqb1+zQFgBcWmKqa9i3GtwD0XJP05UTGVYIBQ1oCuieB20LF8YhbXE/yI5fbbsc6AEfp3BJ579eD1vkcPFT2jyKawbVEi9NIaoKt/0KBhJJMjcLWqdCookEjdZvzRjOPbQav2o45guVZQNuxVuyIuR2gBJb8kIQ24VM=
  16. matrix:
  17. - LINT_CHECK="1"
  18. - TRANSIFEX="1"
  19. - TESTS="1" ODOO_REPO="odoo/odoo"
  20. - TESTS="1" ODOO_REPO="OCA/OCB"
  21. virtualenv:
  22. system_site_packages: true
  23. install:
  24. - pip install anybox.testing.openerp
  25. - git clone --depth=1 https://github.com/OCA/maintainer-quality-tools.git ${HOME}/maintainer-quality-tools
  26. - export PATH=${HOME}/maintainer-quality-tools/travis:${PATH}
  27. - travis_install_nightly
  28. script:
  29. - travis_run_tests
  30. after_success:
  31. - travis_after_tests_success