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.

47 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. before_install:
  18. - "export DISPLAY=:99.0"
  19. - "sh -e /etc/init.d/xvfb start"
  20. env:
  21. global:
  22. - VERSION="11.0" TESTS="0" LINT_CHECK="0" TRANSIFEX="0"
  23. - TRANSIFEX_USER='transbot@odoo-community.org'
  24. - secure: jX9I8iBSTGMGYNzj5zJkh/bvmXmemjqlKpVezZ2QMqaoXHgPPUlktxBwTMlmNeuJ5L9DlDiCqOiXpF41LDmKmjX/e99G15cvNSfQc/jG+exIfo9KSbc6aQSu8cqP+yu1MGTsuuq67Wm8N45+fFJGGsySUbGWFPXnF4MVIiZpqx0=
  25. matrix:
  26. - LINT_CHECK="1"
  27. - TRANSIFEX="1"
  28. - TESTS="1" ODOO_REPO="OCA/OCB"
  29. - TESTS="1" ODOO_REPO="odoo/odoo"
  30. install:
  31. - git clone --depth=1 https://github.com/OCA/maintainer-quality-tools.git ${HOME}/maintainer-quality-tools
  32. - export PATH=${HOME}/maintainer-quality-tools/travis:${PATH}
  33. - travis_install_nightly
  34. - printf '[options]\n\nrunning_env = dev' > ${HOME}/.openerp_serverrc
  35. script:
  36. - travis_run_tests
  37. after_success:
  38. - travis_after_tests_success