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.

38 lines
802 B

10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
  1. language: python
  2. sudo: false
  3. cache:
  4. apt: true
  5. directories:
  6. - $HOME/.cache/pip
  7. python:
  8. - "2.7"
  9. addons:
  10. postgresql: "9.6"
  11. apt:
  12. packages:
  13. - expect-dev # provides unbuffer utility
  14. - python-lxml # because pip installation is slow
  15. env:
  16. global:
  17. - VERSION="9.0" TESTS="0" LINT_CHECK="0" MAKEPOT="0"
  18. matrix:
  19. - LINT_CHECK="1"
  20. - TESTS="1" ODOO_REPO="OCA/OCB"
  21. - TESTS="1" ODOO_REPO="odoo/odoo" MAKEPOT="1"
  22. install:
  23. - git clone --depth=1 https://github.com/OCA/maintainer-quality-tools.git ${HOME}/maintainer-quality-tools
  24. - export PATH=${HOME}/maintainer-quality-tools/travis:${PATH}
  25. - travis_install_nightly
  26. - printf '[options]\n\nrunning_env = dev' > ${HOME}/.openerp_serverrc
  27. script:
  28. - travis_run_tests
  29. after_success:
  30. - travis_after_tests_success