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

  1. language: python
  2. sudo: false
  3. cache: pip
  4. python:
  5. - "2.7"
  6. addons:
  7. apt:
  8. # only add the two lines below if you need wkhtmltopdf for your tests
  9. # sources:
  10. # - pov-wkhtmltopdf
  11. packages:
  12. - expect-dev # provides unbuffer utility
  13. - python-lxml # because pip installation is slow
  14. - python-simplejson
  15. - python-serial
  16. - python-yaml
  17. # - wkhtmltopdf # only add if needed and check the before_install section below
  18. # set up an X server to run wkhtmltopdf.
  19. #before_install:
  20. # - "export DISPLAY=:99.0"
  21. # - "sh -e /etc/init.d/xvfb start"
  22. env:
  23. global:
  24. - VERSION="8.0" TESTS="0" LINT_CHECK="0" TRANSIFEX="0"
  25. - TRANSIFEX_USER='transbot@odoo-community.org'
  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