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.

.travis.yml 1.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. language: python
  2. sudo: false
  3. cache: pip
  4. python:
  5. - "3.5"
  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=:911.0"
  21. # - "sh -e /etc/init.d/xvfb start"
  22. env:
  23. global:
  24. - VERSION="11.0" TESTS="0" LINT_CHECK="0" TRANSIFEX="0"
  25. matrix:
  26. - LINT_CHECK="1"
  27. - TESTS="1" ODOO_REPO="OCA/OCB"
  28. - TESTS="1" ODOO_REPO="odoo/odoo" MAKEPOT="1"
  29. install:
  30. - git clone --depth=1 https://github.com/OCA/maintainer-quality-tools.git ${HOME}/maintainer-quality-tools
  31. - export PATH=${HOME}/maintainer-quality-tools/travis:${PATH}
  32. - travis_install_nightly
  33. script:
  34. - travis_run_tests
  35. after_success:
  36. - travis_after_tests_success