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.

42 lines
774 B

  1. language: python
  2. cache:
  3. directories:
  4. - $HOME/.cache/pip
  5. - $HOME/.cache/pre-commit
  6. python:
  7. - "3.6"
  8. addons:
  9. postgresql: "9.6"
  10. apt:
  11. packages:
  12. - expect-dev # provides unbuffer utility
  13. stages:
  14. - test
  15. jobs:
  16. include:
  17. - stage: test
  18. env:
  19. - TESTS=1 ODOO_REPO="odoo/odoo" MAKEPOT="1"
  20. - stage: test
  21. env:
  22. - TESTS=1 ODOO_REPO="OCA/OCB"
  23. env:
  24. global:
  25. - VERSION="14.0" TESTS="0" LINT_CHECK="0" MAKEPOT="0"
  26. - MQT_DEP=PIP
  27. install:
  28. - git clone --depth=1 https://github.com/OCA/maintainer-quality-tools.git
  29. ${HOME}/maintainer-quality-tools
  30. - export PATH=${HOME}/maintainer-quality-tools/travis:${PATH}
  31. - travis_install_nightly
  32. script:
  33. - travis_run_tests
  34. after_success:
  35. - travis_after_tests_success