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.

45 lines
835 B

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