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.

52 lines
1.8 KiB

  1. language: python
  2. sudo: false
  3. cache:
  4. apt: true
  5. directories:
  6. - $HOME/.cache/pip
  7. python:
  8. - "2.7"
  9. addons:
  10. apt:
  11. sources:
  12. - pov-wkhtmltopdf
  13. packages:
  14. - expect-dev # provides unbuffer utility
  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=:99.0"
  23. - "sh -e /etc/init.d/xvfb start"
  24. env:
  25. global:
  26. - VERSION="8.0" TESTS="0" LINT_CHECK="0" TRANSIFEX="0"
  27. - TRANSIFEX_USER='transbot@odoo-community.org'
  28. - secure: "GRXFURohRzzBbzRovVHd+cObj1yBe9x9bddKqUo7jEGPo+MYHKfGo1M7disTDq6HPLgCwacbhWRsMavGORB3AEkoNewP7q31MKGGPiS8Com9wMmYUtDPs4ZiuUlakJjvfsmGlpwTWUe1Xv1YSZweXVGIESAn0SwhzKHrSKiTcSFAapTwdZXt0lKIsDcra/xOesJ8p9QjY4mzsgyeLrLUSq/Gpt/icAJeoktJ2c4Z6sMV4ozbaRgMFSMCxXKXQTNtLgFICfiJZ2PAw3BQTYo6iX0sdX3RekvaWVBiFr1iblrFjZleoZ9CnkOEKq0JL8EXHMeX7UBvkSJvQV4M3DPd5GdHA0docKDwgdJKUSP9oxBJ6ElYxG5/bbwOxWfY0x6mh/iJdSuNyrfaUqzaCfhQsckuEw6IgqcMGWLPoO5FSovzAtC+u0+GIqphyFsA25lku9B76eZB8KuqWEUJGQZswIOYUKc0i1A2S/ej6MjCYW0BrazhN5laP/6nu7RHmYs0sIrIaxeJJZG0AaVKWAXmTbcDplF07wzwQau4nk922pH5Bxmt2hB1BOzeOqCGnE3wTOAuacuDIfyJaIpTmNMALWeWk/EkMghDZXRRCEueZO5QR2LdcxJk86x5ANj6sxKVo+nkl+x93ZBsehqELn4rTHwjAaA+Ck3vWRkzfV8nJ3A="
  29. matrix:
  30. - LINT_CHECK="1"
  31. - TESTS="1" ODOO_REPO="odoo/odoo"
  32. - TESTS="1" ODOO_REPO="OCA/OCB"
  33. - TRANSIFEX="1"
  34. virtualenv:
  35. system_site_packages: true
  36. install:
  37. - git clone --depth=1 https://github.com/OCA/maintainer-quality-tools.git ${HOME}/maintainer-quality-tools
  38. - export PATH=${HOME}/maintainer-quality-tools/travis:${PATH}
  39. - travis_install_nightly
  40. script:
  41. - travis_run_tests
  42. after_success:
  43. - travis_after_tests_success