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.

43 lines
1.1 KiB

  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. sources:
  12. - pov-wkhtmltopdf
  13. packages:
  14. - expect-dev # provides unbuffer utility
  15. - python-lxml # because pip installation is slow
  16. - wkhtmltopdf
  17. env:
  18. global:
  19. - VERSION="11.0" TESTS="0" LINT_CHECK="0" TRANSIFEX="0"
  20. - TRANSIFEX_USER='transbot@odoo-community.org'
  21. - secure: jX9I8iBSTGMGYNzj5zJkh/bvmXmemjqlKpVezZ2QMqaoXHgPPUlktxBwTMlmNeuJ5L9DlDiCqOiXpF41LDmKmjX/e99G15cvNSfQc/jG+exIfo9KSbc6aQSu8cqP+yu1MGTsuuq67Wm8N45+fFJGGsySUbGWFPXnF4MVIiZpqx0=
  22. matrix:
  23. - LINT_CHECK="1"
  24. - TRANSIFEX="1"
  25. - TESTS="1" ODOO_REPO="OCA/OCB"
  26. - TESTS="1" ODOO_REPO="odoo/odoo"
  27. install:
  28. - git clone --depth=1 https://github.com/OCA/maintainer-quality-tools.git ${HOME}/maintainer-quality-tools
  29. - export PATH=${HOME}/maintainer-quality-tools/travis:${PATH}
  30. - travis_install_nightly
  31. - printf '[options]\n\nrunning_env = dev' > ${HOME}/.openerp_serverrc
  32. script:
  33. - travis_run_tests
  34. after_success:
  35. - travis_after_tests_success