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.

42 lines
956 B

10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
  1. language: python
  2. python:
  3. - "2.7"
  4. sudo: false
  5. cache: pip
  6. addons:
  7. apt:
  8. sources:
  9. - pov-wkhtmltopdf
  10. packages:
  11. - expect-dev # provides unbuffer utility
  12. - python-lxml # because pip installation is slow
  13. - wkhtmltopdf
  14. env:
  15. - VERSION="9.0" LINT_CHECK="1"
  16. - VERSION="9.0" ODOO_REPO="odoo/odoo" LINT_CHECK="0"
  17. - VERSION="9.0" ODOO_REPO="OCA/OCB" LINT_CHECK="0"
  18. - VERSION="9.0" UNIT_TEST="1" 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. - printf '[options]\n\nrunning_env = dev' > ${HOME}/.openerp_serverrc
  29. - pip install unidecode pyserial pycountry openupgradelib
  30. script:
  31. - travis_run_tests
  32. after_success:
  33. coveralls