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.

40 lines
867 B

10 years ago
10 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. 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. - VERSION="9.0" LINT_CHECK="1"
  17. - VERSION="9.0" ODOO_REPO="odoo/odoo" LINT_CHECK="0"
  18. - VERSION="9.0" ODOO_REPO="OCA/OCB" LINT_CHECK="0"
  19. virtualenv:
  20. system_site_packages: true
  21. before_install:
  22. - "export DISPLAY=:99.0"
  23. - "sh -e /etc/init.d/xvfb start"
  24. install:
  25. - git clone https://github.com/OCA/maintainer-quality-tools.git ${HOME}/maintainer-quality-tools
  26. - export PATH=${HOME}/maintainer-quality-tools/travis:${PATH}
  27. - travis_install_nightly
  28. script:
  29. - travis_run_tests
  30. after_success:
  31. - travis_after_tests_success