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.

41 lines
1.3 KiB

10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
  1. language: python
  2. sudo: false
  3. cache: pip
  4. python:
  5. - "2.7"
  6. addons:
  7. postgresql: "9.3" # minimal postgresql version for the base_import_security_group module
  8. # more info: https://github.com/OCA/maintainer-quality-tools/issues/432
  9. apt:
  10. packages:
  11. - expect-dev # provides unbuffer utility
  12. - python-lxml # because pip installation is slow
  13. env:
  14. global:
  15. - VERSION="8.0" TESTS="0" LINT_CHECK="0" TRANSIFEX="0"
  16. - TRANSIFEX_USER='transbot@odoo-community.org'
  17. - secure: Z06mZCN+Hm3myqHSOZpOOk1pd4oq1epAWZv6m9OX2bTNHbhyOVOGK6JWWsnDm/3DUCN1ZeLtSGOl9bvQfMa8ahQHA80MkLL16YlTvQV59Lh+L2gAYmxX+ogJCJgeQSVAXlGLscgkADCu/HzDlmatrDeROMtULn5i23j2qcyUNyM=
  18. matrix:
  19. - LINT_CHECK="1"
  20. - TRANSIFEX="1"
  21. - TESTS="1" ODOO_REPO="odoo/odoo"
  22. - TESTS="1" ODOO_REPO="OCA/OCB"
  23. virtualenv:
  24. system_site_packages: true
  25. install:
  26. - git clone https://github.com/OCA/maintainer-quality-tools.git ${HOME}/maintainer-quality-tools
  27. - export PATH=${HOME}/maintainer-quality-tools/travis:${PATH}
  28. - travis_install_nightly
  29. - printf '[options]\n\nrunning_env = dev\n' > ${HOME}/.openerp_serverrc
  30. - ln -s ${TRAVIS_BUILD_DIR}/server_environment_files_sample ${TRAVIS_BUILD_DIR}/server_environment_files
  31. script:
  32. - travis_run_tests
  33. after_success:
  34. - travis_after_tests_success