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.

46 lines
1.1 KiB

7 years ago
10 years ago
10 years ago
10 years ago
7 years ago
10 years ago
  1. sudo: false
  2. cache: pip
  3. addons:
  4. postgresql: "9.2" # minimal postgresql version for the daterange method
  5. apt:
  6. packages:
  7. - expect-dev # provides unbuffer utility
  8. - python-lxml # because pip installation is slow
  9. language: python
  10. python:
  11. - "2.7"
  12. env:
  13. global:
  14. - VERSION="10.0" TESTS="0" LINT_CHECK="0" TRANSIFEX="0"
  15. - TRANSIFEX_USER='transbot@odoo-community.org'
  16. - secure: MZ5W99aYtT5mntw9Aur7bZ0FFXHZYc3v2oWg9dEODeKcLWUTmQbPC/T/pcjex1MBQTIHy0GZ+M/kj7qQQilbtbMYnjt7VBcY+fY1cZskEohc7mK/c8sUNHeUYj7Ec7n7VriY0XjQVH7Ov3FkiDoUm/4um0VyhH8LpKWw0vMhqFY=
  17. matrix:
  18. - LINT_CHECK="1"
  19. - TRANSIFEX="1"
  20. - TESTS="1" ODOO_REPO="odoo/odoo"
  21. - TESTS="1" ODOO_REPO="OCA/OCB"
  22. virtualenv:
  23. system_site_packages: true
  24. before_install:
  25. - "export DISPLAY=:910.0"
  26. - "sh -e /etc/init.d/xvfb start"
  27. install:
  28. - git clone https://github.com/OCA/maintainer-quality-tools.git ${HOME}/maintainer-quality-tools
  29. - export PATH=${HOME}/maintainer-quality-tools/travis:${PATH}
  30. - export WKHTMLTOPDF_VERSION=0.12.4
  31. - travis_install_nightly
  32. script:
  33. - travis_run_tests
  34. after_success:
  35. - travis_after_tests_success