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.3 KiB

  1. language: python
  2. sudo: false
  3. cache: pip
  4. python:
  5. - "3.5"
  6. addons:
  7. postgresql: "9.6"
  8. apt:
  9. # only add the two lines below if you need wkhtmltopdf for your tests
  10. # sources:
  11. # - pov-wkhtmltopdf
  12. packages:
  13. - expect-dev # provides unbuffer utility
  14. - python-lxml # because pip installation is slow
  15. - python-simplejson
  16. - python-serial
  17. - python-yaml
  18. # - wkhtmltopdf # only add if needed and check the before_install section below
  19. # set up an X server to run wkhtmltopdf.
  20. #before_install:
  21. # - "export DISPLAY=:912.0"
  22. # - "sh -e /etc/init.d/xvfb start"
  23. env:
  24. global:
  25. - VERSION="12.0" TESTS="0" LINT_CHECK="0" TRANSIFEX="0"
  26. - TRANSIFEX_USER='transbot@odoo-community.org'
  27. - secure: ArnbVaF5+ry6zVysZ7HA9xcnQrodo8FsXXcon9yINTYRfDC9QEr+/mTLAPRl+lVLdtWV2GuGuX0vPYzBxFWpY3LR0BpKqXzx0G51s94zR2WWEmizYFzFhpAuIxoU4CYNckHFSUaPAQJhwB/pYx9+H/W6bMjG/VnZBq+AmBJ2Kh0=
  28. matrix:
  29. - LINT_CHECK="1"
  30. - TESTS="1" ODOO_REPO="OCA/OCB"
  31. - TESTS="1" ODOO_REPO="odoo/odoo"
  32. - TRANSIFEX="1"
  33. install:
  34. - git clone --depth=1 https://github.com/OCA/maintainer-quality-tools.git ${HOME}/maintainer-quality-tools
  35. - export PATH=${HOME}/maintainer-quality-tools/travis:${PATH}
  36. - travis_install_nightly
  37. script:
  38. - travis_run_tests
  39. after_success:
  40. - travis_after_tests_success