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.

49 lines
1.2 KiB

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. 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="8.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="odoo/odoo"
  29. - TESTS="1" ODOO_REPO="OCA/OCB"
  30. virtualenv:
  31. system_site_packages: true
  32. install:
  33. - git clone --depth=1 https://github.com/OCA/maintainer-quality-tools.git ${HOME}/maintainer-quality-tools
  34. - export PATH=${HOME}/maintainer-quality-tools/travis:${PATH}
  35. - travis_install_nightly
  36. - printf '[options]\n\nrunning_env = dev' > ${HOME}/.openerp_serverrc
  37. script:
  38. - travis_run_tests
  39. after_success:
  40. - travis_after_tests_success