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.

40 lines
1.1 KiB

  1. language: python
  2. sudo: false
  3. cache: pip
  4. python:
  5. - "3.5"
  6. addons:
  7. postgresql: "9.6"
  8. apt:
  9. packages:
  10. - expect-dev # provides unbuffer utility
  11. env:
  12. global:
  13. - VERSION="12.0" TESTS="0" LINT_CHECK="0" MAKEPOT="0" MQT_DEP="PIP"
  14. - COUNTRY="US"
  15. matrix:
  16. - LINT_CHECK="1"
  17. - TESTS="1" ODOO_REPO="OCA/OCB" EXCLUDE="database_cleanup,module_analysis"
  18. - TESTS="1" ODOO_REPO="OCA/OCB" INCLUDE="database_cleanup"
  19. - TESTS="1" ODOO_REPO="OCA/OCB" INCLUDE="module_analysis"
  20. - TESTS="1" ODOO_REPO="odoo/odoo" EXCLUDE="database_cleanup,module_analysis" MAKEPOT="1"
  21. - TESTS="1" ODOO_REPO="odoo/odoo" INCLUDE="database_cleanup" MAKEPOT="1"
  22. - TESTS="1" ODOO_REPO="odoo/odoo" INCLUDE="module_analysis" MAKEPOT="1"
  23. install:
  24. - git clone --depth=1 https://github.com/OCA/maintainer-quality-tools.git ${HOME}/maintainer-quality-tools
  25. - export PATH=${HOME}/maintainer-quality-tools/travis:${PATH}
  26. - travis_install_nightly
  27. # Requirements to test server_environment modules
  28. - printf '[options]\n\nrunning_env = dev\n' > ${HOME}/.openerp_serverrc
  29. script:
  30. - travis_run_tests
  31. after_success:
  32. - travis_after_tests_success