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.

43 lines
1.2 KiB

10 years ago
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. apt:
  8. packages:
  9. - expect-dev # provides unbuffer utility
  10. - python-lxml # because pip installation is slow
  11. env:
  12. global:
  13. - VERSION="8.0" TESTS="0" LINT_CHECK="0" TRANSIFEX="0"
  14. - TRANSIFEX_USER='transbot@odoo-community.org'
  15. - secure: Z06mZCN+Hm3myqHSOZpOOk1pd4oq1epAWZv6m9OX2bTNHbhyOVOGK6JWWsnDm/3DUCN1ZeLtSGOl9bvQfMa8ahQHA80MkLL16YlTvQV59Lh+L2gAYmxX+ogJCJgeQSVAXlGLscgkADCu/HzDlmatrDeROMtULn5i23j2qcyUNyM=
  16. matrix:
  17. - LINT_CHECK="1"
  18. - TRANSIFEX="1"
  19. - TESTS="1" ODOO_REPO="odoo/odoo"
  20. - TESTS="1" ODOO_REPO="OCA/OCB"
  21. - UNIT_TEST="1"
  22. virtualenv:
  23. system_site_packages: true
  24. install:
  25. - git clone https://github.com/OCA/maintainer-quality-tools.git ${HOME}/maintainer-quality-tools
  26. - export PATH=${HOME}/maintainer-quality-tools/travis:${PATH}
  27. - travis_install_nightly
  28. - pip install python-ldap
  29. - pip install unidecode
  30. - pip install validate_email
  31. - printf '[options]\n\nrunning_env = dev' > ${HOME}/.openerp_serverrc
  32. - ln -s server_environment_files_sample ./server_environment_files
  33. script:
  34. - travis_run_tests
  35. after_success:
  36. - travis_after_tests_success