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.

46 lines
1.0 KiB

  1. language: python
  2. python:
  3. - "3.6"
  4. #dist: trusty
  5. sudo: false
  6. cache: pip
  7. addons:
  8. # odoo 12.0+ uses command "INSERT ... ON CONFLICT ...", which is available in 9.5+ only
  9. postgresql: "9.5"
  10. apt:
  11. packages:
  12. - expect-dev # provides unbuffer utility
  13. - python-lxml # because pip installation is slow
  14. env:
  15. global:
  16. - VERSION="13.0" TESTS="0" LINT_CHECK="0" UNIT_TEST="0"
  17. - PYLINT_ODOO_JSLINTRC="/home/travis/maintainer-quality-tools/travis/cfg/.jslintrc"
  18. matrix:
  19. - LINT_CHECK="1"
  20. - CHECK_TAGS="1"
  21. - TESTS="1" ODOO_REPO="odoo/odoo" MAKEPOT="1"
  22. - TESTS="1" ODOO_REPO="OCA/OCB"
  23. install:
  24. - pip install anybox.testing.openerp
  25. - git clone https://github.com/it-projects-llc/maintainer-quality-tools.git ${HOME}/maintainer-quality-tools
  26. - export PATH=${HOME}/maintainer-quality-tools/travis:${PATH}
  27. - travis_install_nightly
  28. script:
  29. - travis_run_tests
  30. after_success:
  31. - travis_after_tests_success
  32. notifications:
  33. email: false
  34. webhooks:
  35. on_failure: change
  36. urls:
  37. - "https://ci.it-projects.info/travis/on_failure/change"