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.

51 lines
1.4 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=:910.0"
  21. # - "sh -e /etc/init.d/xvfb start"
  22. env:
  23. global:
  24. - VERSION="10.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="odoo/odoo" UNIT_TEST="1"
  31. - TESTS="1" ODOO_REPO="OCA/OCB"
  32. - TRANSIFEX="1"
  33. virtualenv:
  34. system_site_packages: true
  35. install:
  36. - git clone --depth=1 https://github.com/OCA/maintainer-quality-tools.git ${HOME}/maintainer-quality-tools
  37. - export PATH=${HOME}/maintainer-quality-tools/travis:${PATH}
  38. - travis_install_nightly
  39. script:
  40. - travis_run_tests
  41. after_success:
  42. - travis_after_tests_success