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.

44 lines
1.5 KiB

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. apt:
  5. packages:
  6. - expect-dev # provides unbuffer utility
  7. - python-lxml # because pip installation is slow
  8. language: python
  9. python:
  10. - "2.7"
  11. env:
  12. global:
  13. - VERSION="9.0" TESTS="0" LINT_CHECK="0" TRANSIFEX="0"
  14. - TRANSIFEX_USER='transbot@odoo-community.org'
  15. - secure: LhS+tozOz65gNeGs3yQ4WQOJ6o4fljCHp/bAyHXj4QqB4NkRj7ajO92ZasvtWA4BbxDjsz+Rie3Ct9zq0Zmg05rCT58TYxoqnq2+rN+ZOqr46VYnzIk4MapHNXLQuXhAfTVqsJRdpJteF7nn2wnnc3ZDAIJTfLmP8v789iIbCcA=
  16. matrix:
  17. - LINT_CHECK="1"
  18. - TRANSIFEX="1"
  19. - TESTS="1" ODOO_REPO="odoo/odoo"
  20. - TESTS="1" ODOO_REPO="OCA/OCB"
  21. virtualenv:
  22. system_site_packages: true
  23. install:
  24. - git clone https://github.com/OCA/maintainer-quality-tools.git ${HOME}/maintainer-quality-tools
  25. - export PATH=${HOME}/maintainer-quality-tools/travis:${PATH}
  26. - travis_install_nightly
  27. - pip install phonenumbers py-Asterisk SOAPpy FreeSWITCH-ESL-Python
  28. - hg clone http://bitbucket.org/anybox/web_action_request -b ${VERSION} ${HOME}/web_action_request
  29. - if [ -d /home/travis/${ODOO_REPO##*/}-${VERSION}/addons ]; then ln -s ${HOME}/web_action_request/web_action_request /home/travis/${ODOO_REPO##*/}-${VERSION}/addons; fi
  30. - hg clone http://bitbucket.org/anybox/bus_enhanced -b ${VERSION} ${HOME}/bus_enhanced
  31. - if [ -d /home/travis/${ODOO_REPO##*/}-${VERSION}/addons ]; then ln -s ${HOME}/bus_enhanced/bus_enhanced /home/travis/${ODOO_REPO##*/}-${VERSION}/addons; fi
  32. script:
  33. - travis_run_tests
  34. after_success:
  35. - travis_after_tests_success