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.

64 lines
2.1 KiB

  1. language: python
  2. sudo: false
  3. cache: pip
  4. python:
  5. - "3.5"
  6. addons:
  7. postgresql: "9.6"
  8. apt:
  9. # sources:
  10. # Search your sources alias here:
  11. # https://github.com/travis-ci/apt-source-whitelist/blob/master/ubuntu.json
  12. packages:
  13. - expect-dev # provides unbuffer utility
  14. # Search your packages here:
  15. # https://github.com/travis-ci/apt-package-whitelist/blob/master/ubuntu-precise
  16. # For wkhtmltopdf, see the env section below
  17. # Sometimes complicated website repos need Compass & SaSS:
  18. #before_install:
  19. # - rvm install ruby --latest
  20. # - gem install bootstrap-sass
  21. # - gem install compass --pre
  22. env:
  23. global:
  24. - VERSION="12.0" TESTS="0" LINT_CHECK="0" MAKEPOT="0"
  25. # Set this variable to some version existing as linux-generic build on
  26. # https://github.com/wkhtmltopdf/wkhtmltopdf/releases
  27. # if you need to install wkhtmltopdf
  28. # - WKHTMLTOPDF_VERSION="0.12.4"
  29. # Set the above to install a `wkhtmltopdf` version that is not the one provided
  30. # by the `pov-wkhtmltopdf` repo.
  31. - PHANTOMJS_VERSION="latest"
  32. # The above line controls the PhantomJS version that is used for JS testing.
  33. # It is not necessary to include this value unless you are altering the default.
  34. # Use `OS` to skip the PhantomJS upgrade & use the system version instead.
  35. - WEBSITE_REPO="1"
  36. # Use the above line to install dependencies that are required for website repos:
  37. # * SASS & Bootstrap-SASS
  38. # * Compass
  39. matrix:
  40. - LINT_CHECK="1"
  41. - TESTS="1" ODOO_REPO="OCA/OCB"
  42. - TESTS="1" ODOO_REPO="odoo/odoo" MAKEPOT="1"
  43. # either use the two lines above or the two below. Don't change the default if
  44. # it's not necessary (it is only necessary if modules in your repository can't
  45. # be installed in the same database. And you get a huge speed penalty in your
  46. # tests)
  47. # - TESTS="1.0" ODOO_REPO="OCA/OCB" UNIT_TEST="1"
  48. # - TESTS="1.0" ODOO_REPO="odoo/odoo" UNIT_TEST="1"
  49. install:
  50. - git clone --depth=1 https://github.com/OCA/maintainer-quality-tools.git ${HOME}/maintainer-quality-tools
  51. - export PATH=${HOME}/maintainer-quality-tools/travis:${PATH}
  52. - travis_install_nightly
  53. script:
  54. - travis_run_tests
  55. after_success:
  56. - travis_after_tests_success