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.

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