OCA reporting engine fork for dev and update.
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.

49 lines
969 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. - libreoffice
  14. stages:
  15. - linting
  16. - test
  17. jobs:
  18. include:
  19. - stage: linting
  20. name: "pre-commit"
  21. before_install:
  22. install: pip install pre-commit
  23. script: pre-commit run --all --show-diff-on-failure
  24. after_success:
  25. - stage: test
  26. env:
  27. - TESTS="1" ODOO_REPO="odoo/odoo" MAKEPOT="1"
  28. - stage: test
  29. env:
  30. - TESTS="1" ODOO_REPO="OCA/OCB"
  31. env:
  32. global:
  33. - VERSION="13.0" TESTS="0" LINT_CHECK="0" MAKEPOT="0"
  34. install:
  35. - git clone --depth=1 https://github.com/OCA/maintainer-quality-tools.git ${HOME}/maintainer-quality-tools
  36. - export PATH=${HOME}/maintainer-quality-tools/travis:${PATH}
  37. - travis_install_nightly
  38. script:
  39. - travis_run_tests
  40. after_success:
  41. - travis_after_tests_success