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.

50 lines
1.0 KiB

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