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
851 B

  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. - cloc # module_analysis
  12. env:
  13. global:
  14. - VERSION="12.0" TESTS="0" LINT_CHECK="0" MAKEPOT="0"
  15. matrix:
  16. - LINT_CHECK="1"
  17. - TESTS="1" ODOO_REPO="OCA/OCB" EXCLUDE="database_cleanup"
  18. - TESTS="1" ODOO_REPO="OCA/OCB" INCLUDE="database_cleanup"
  19. - TESTS="1" ODOO_REPO="odoo/odoo" EXCLUDE="database_cleanup" MAKEPOT="1"
  20. - TESTS="1" ODOO_REPO="odoo/odoo" INCLUDE="database_cleanup" MAKEPOT="1"
  21. install:
  22. - git clone --depth=1 https://github.com/OCA/maintainer-quality-tools.git ${HOME}/maintainer-quality-tools
  23. - export PATH=${HOME}/maintainer-quality-tools/travis:${PATH}
  24. - travis_install_nightly
  25. script:
  26. - travis_run_tests
  27. after_success:
  28. - travis_after_tests_success