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.

50 lines
1.2 KiB

  1. language: python
  2. sudo: false
  3. cache: pip
  4. python:
  5. - "2.7"
  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. - python-simplejson
  14. - python-serial
  15. - python-yaml
  16. - wkhtmltopdf
  17. # set up an X server to run wkhtmltopdf.
  18. before_install:
  19. - "export DISPLAY=:910.0"
  20. - "sh -e /etc/init.d/xvfb start"
  21. env:
  22. global:
  23. - VERSION="10.0" TESTS="0" LINT_CHECK="0" TRANSIFEX="0"
  24. - TRANSIFEX_USER='transbot@odoo-community.org'
  25. - WKHTMLTOPDF_VERSION="0.12.4"
  26. - secure: ArnbVaF5+ry6zVysZ7HA9xcnQrodo8FsXXcon9yINTYRfDC9QEr+/mTLAPRl+lVLdtWV2GuGuX0vPYzBxFWpY3LR0BpKqXzx0G51s94zR2WWEmizYFzFhpAuIxoU4CYNckHFSUaPAQJhwB/pYx9+H/W6bMjG/VnZBq+AmBJ2Kh0=
  27. matrix:
  28. - LINT_CHECK="1"
  29. - TESTS="1" ODOO_REPO="odoo/odoo"
  30. - TESTS="1" ODOO_REPO="OCA/OCB"
  31. - TRANSIFEX="1"
  32. virtualenv:
  33. system_site_packages: true
  34. install:
  35. - git clone --depth=1 https://github.com/OCA/maintainer-quality-tools.git ${HOME}/maintainer-quality-tools
  36. - export PATH=${HOME}/maintainer-quality-tools/travis:${PATH}
  37. - travis_install_nightly
  38. script:
  39. - travis_run_tests
  40. after_success:
  41. - travis_after_tests_success