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.4 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. - postgresql-9.6-postgis-2.3 postgis # because travis doesn't know which one to install
  15. - python-lxml # because pip installation is slow
  16. - python-simplejson
  17. - python-serial
  18. - python-yaml
  19. # - wkhtmltopdf # only add if needed and check the before_install section below
  20. # set up an X server to run wkhtmltopdf.
  21. #before_install:
  22. # - "export DISPLAY=:911.0"
  23. # - "sh -e /etc/init.d/xvfb start"
  24. env:
  25. global:
  26. - VERSION="11.0" TESTS="0" LINT_CHECK="0" TRANSIFEX="0"
  27. - TRANSIFEX_USER='transbot@odoo-community.org'
  28. - secure: ArnbVaF5+ry6zVysZ7HA9xcnQrodo8FsXXcon9yINTYRfDC9QEr+/mTLAPRl+lVLdtWV2GuGuX0vPYzBxFWpY3LR0BpKqXzx0G51s94zR2WWEmizYFzFhpAuIxoU4CYNckHFSUaPAQJhwB/pYx9+H/W6bMjG/VnZBq+AmBJ2Kh0=
  29. matrix:
  30. - LINT_CHECK="1"
  31. - TESTS="1" ODOO_REPO="OCA/OCB"
  32. - TESTS="1" ODOO_REPO="odoo/odoo"
  33. - TRANSIFEX="1"
  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