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.

36 lines
823 B

5 years ago
  1. language: python
  2. sudo: false
  3. cache: pip
  4. python:
  5. - "3.5"
  6. addons:
  7. postgresql: "9.6"
  8. apt:
  9. packages:
  10. - expect-dev # provides unbuffer utility
  11. env:
  12. global:
  13. - VERSION="12.0" TESTS="0" LINT_CHECK="0" MAKEPOT="0"
  14. matrix:
  15. - LINT_CHECK="1"
  16. - TESTS="1" ODOO_REPO="OCA/OCB"
  17. - TESTS="1" ODOO_REPO="OCA/OCB" UNIT_TEST="1"
  18. install:
  19. - git clone --depth=1 https://github.com/OCA/maintainer-quality-tools.git ${HOME}/maintainer-quality-tools
  20. # Disable manifest-required-author for this repository
  21. - sed '/manifest-required-author,/d' ${HOME}/maintainer-quality-tools/travis/cfg/travis_run_pylint_pr.cfg -i
  22. - export PATH=${HOME}/maintainer-quality-tools/travis:${PATH}
  23. - travis_install_nightly
  24. - pip install unidecode
  25. script:
  26. - travis_run_tests
  27. after_success:
  28. - travis_after_tests_success