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.

40 lines
1.1 KiB

10 years ago
10 years ago
9 years ago
9 years ago
10 years ago
10 years ago
9 years ago
  1. sudo: false
  2. cache: pip
  3. addons:
  4. postgresql: "9.6"
  5. apt:
  6. packages:
  7. - expect-dev # provides unbuffer utility
  8. - python-lxml # because pip installation is slow
  9. language: python
  10. python:
  11. - "3.5"
  12. env:
  13. global:
  14. - VERSION="11.0" TESTS="0" LINT_CHECK="0" TRANSIFEX="0"
  15. - TRANSIFEX_USER='transbot@odoo-community.org'
  16. - secure: LhS+tozOz65gNeGs3yQ4WQOJ6o4fljCHp/bAyHXj4QqB4NkRj7ajO92ZasvtWA4BbxDjsz+Rie3Ct9zq0Zmg05rCT58TYxoqnq2+rN+ZOqr46VYnzIk4MapHNXLQuXhAfTVqsJRdpJteF7nn2wnnc3ZDAIJTfLmP8v789iIbCcA=
  17. matrix:
  18. - LINT_CHECK="1"
  19. - TRANSIFEX="1"
  20. - TESTS="1" ODOO_REPO="OCA/OCB"
  21. - TESTS="1" ODOO_REPO="odoo/odoo"
  22. install:
  23. - git clone https://github.com/OCA/maintainer-quality-tools.git ${HOME}/maintainer-quality-tools
  24. - export PATH=${HOME}/maintainer-quality-tools/travis:${PATH}
  25. - travis_install_nightly
  26. - printf '[options]\n\nrunning_env = dev\n' > ${HOME}/.openerp_serverrc
  27. - ln -s ${TRAVIS_BUILD_DIR}/server_environment_files_sample ${TRAVIS_BUILD_DIR}/server_environment_files
  28. script:
  29. - travis_run_tests
  30. after_success:
  31. - travis_after_tests_success