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.

37 lines
783 B

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