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.

44 lines
1.3 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.6"
  14. language: python
  15. python:
  16. - "3.5"
  17. env:
  18. global:
  19. - VERSION="11.0" TESTS="0" LINT_CHECK="0" TRANSIFEX="0"
  20. - TRANSIFEX_USER='transbot@odoo-community.org'
  21. - secure: NUsXwVrMntcqge1ozKW+DSkP7dq+Rla6JVvFF2c89/g+zJaIqQRi8EQBLoqNwCdMk+rjpQeZt/JPELjH+EzPcmGddhDxOgVB3nUT9LvFXGCHF+NjmHXqyba4tuc7BnpG1WDD+rSlxVCt1aIjNIhhaZ4ic0rCWpKNYu/yFTsmChc=
  22. matrix:
  23. - LINT_CHECK="1"
  24. - TRANSIFEX="1"
  25. - TESTS="1" ODOO_REPO="OCA/OCB" OPTIONS="--test-report-directory=/tmp"
  26. - TESTS="1" ODOO_REPO="odoo/odoo" OPTIONS="--test-report-directory=/tmp"
  27. install:
  28. - git clone --depth=1 https://github.com/OCA/maintainer-quality-tools.git ${HOME}/maintainer-quality-tools
  29. - export PATH=${HOME}/maintainer-quality-tools/travis:${PATH}
  30. - export WKHTMLTOPDF_VERSION=0.12.4
  31. - travis_install_nightly
  32. - pip install PyPDF2 # needed for report_qweb_pdf_watermark
  33. script:
  34. - travis_run_tests
  35. after_success:
  36. - travis_after_tests_success