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.

44 lines
1.1 KiB

  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. - "3.5"
  12. env:
  13. global:
  14. - VERSION="11.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="OCA/OCB"
  21. - TESTS="1" ODOO_REPO="odoo/odoo"
  22. before_install:
  23. - "export DISPLAY=:911.0"
  24. - "sh -e /etc/init.d/xvfb start"
  25. install:
  26. - git clone https://github.com/OCA/maintainer-quality-tools.git ${HOME}/maintainer-quality-tools
  27. - export PATH=${HOME}/maintainer-quality-tools/travis:${PATH}
  28. - export WKHTMLTOPDF_VERSION=0.12.4
  29. - travis_install_nightly
  30. script:
  31. - travis_run_tests
  32. after_success:
  33. - travis_after_tests_success