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

11 years ago
11 years ago
11 years ago
  1. sudo: false
  2. cache: pip
  3. addons:
  4. postgresql: "9.2" # minimal postgresql version for the daterange method
  5. apt:
  6. sources:
  7. - pov-wkhtmltopdf
  8. packages:
  9. - expect-dev # provides unbuffer utility
  10. - python-lxml # because pip installation is slow
  11. - wkhtmltopdf
  12. language: python
  13. python:
  14. - "2.7"
  15. env:
  16. global:
  17. - VERSION="9.0" TESTS="0" LINT_CHECK="0" TRANSIFEX="0"
  18. - TRANSIFEX_USER='transbot@odoo-community.org'
  19. - secure: MZ5W99aYtT5mntw9Aur7bZ0FFXHZYc3v2oWg9dEODeKcLWUTmQbPC/T/pcjex1MBQTIHy0GZ+M/kj7qQQilbtbMYnjt7VBcY+fY1cZskEohc7mK/c8sUNHeUYj7Ec7n7VriY0XjQVH7Ov3FkiDoUm/4um0VyhH8LpKWw0vMhqFY=
  20. matrix:
  21. - LINT_CHECK="1"
  22. - TRANSIFEX="1"
  23. - TESTS="1" ODOO_REPO="odoo/odoo"
  24. - TESTS="1" ODOO_REPO="OCA/OCB"
  25. virtualenv:
  26. system_site_packages: true
  27. before_install:
  28. - "export DISPLAY=:99.0"
  29. - "sh -e /etc/init.d/xvfb start"
  30. install:
  31. - git clone 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. script:
  35. - travis_run_tests
  36. after_success:
  37. - travis_after_tests_success