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.

45 lines
1.1 KiB

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