OCA reporting engine fork for dev and update.
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.

49 lines
1.4 KiB

  1. sudo: false
  2. cache: pip
  3. addons:
  4. apt:
  5. # only add the two lines below if you need wkhtmltopdf for your tests
  6. sources:
  7. - pov-wkhtmltopdf
  8. packages:
  9. - expect-dev # provides unbuffer utility
  10. - python-lxml # because pip installation is slow
  11. - pdftk
  12. - wkhtmltopdf # only add if needed and check the before_install section below
  13. postgresql: "9.3"
  14. # set up an X server to run wkhtmltopdf.
  15. before_install:
  16. - "export DISPLAY=:99.0"
  17. - "sh -e /etc/init.d/xvfb start"
  18. language: python
  19. python:
  20. - "3.5"
  21. env:
  22. global:
  23. - VERSION="11.0" TESTS="0" LINT_CHECK="0" TRANSIFEX="0"
  24. - TRANSIFEX_USER='transbot@odoo-community.org'
  25. - secure: NUsXwVrMntcqge1ozKW+DSkP7dq+Rla6JVvFF2c89/g+zJaIqQRi8EQBLoqNwCdMk+rjpQeZt/JPELjH+EzPcmGddhDxOgVB3nUT9LvFXGCHF+NjmHXqyba4tuc7BnpG1WDD+rSlxVCt1aIjNIhhaZ4ic0rCWpKNYu/yFTsmChc=
  26. matrix:
  27. - LINT_CHECK="1"
  28. - TRANSIFEX="1"
  29. - TESTS="1" ODOO_REPO="OCA/OCB" OPTIONS="--test-report-directory=/tmp"
  30. - TESTS="1" ODOO_REPO="odoo/odoo" OPTIONS="--test-report-directory=/tmp"
  31. install:
  32. - git clone --depth=1 https://github.com/OCA/maintainer-quality-tools.git ${HOME}/maintainer-quality-tools
  33. - export PATH=${HOME}/maintainer-quality-tools/travis:${PATH}
  34. - export WKHTMLTOPDF_VERSION=0.12.4
  35. - travis_install_nightly
  36. - pip install PyPDF2 # needed for report_qweb_pdf_watermark
  37. script:
  38. - travis_run_tests
  39. after_success:
  40. - travis_after_tests_success