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.1 KiB

10 years ago
10 years ago
10 years ago
10 years ago
  1. sudo: false
  2. cache: pip
  3. addons:
  4. apt:
  5. sources:
  6. - pov-wkhtmltopdf
  7. packages:
  8. - expect-dev # provides unbuffer utility
  9. - python-lxml # because pip installation is slow
  10. - wkhtmltopdf
  11. language: python
  12. python:
  13. - "2.7"
  14. env:
  15. - VERSION="7.0" LINT_CHECK="1"
  16. - VERSION="7.0" ODOO_REPO="odoo/odoo" LINT_CHECK="0"
  17. - VERSION="7.0" ODOO_REPO="OCA/OCB" LINT_CHECK="0"
  18. virtualenv:
  19. system_site_packages: true
  20. before_install:
  21. - "export DISPLAY=:99.0"
  22. - "sh -e /etc/init.d/xvfb start"
  23. install:
  24. - git clone https://github.com/OCA/maintainer-quality-tools.git ${HOME}/maintainer-quality-tools
  25. - git clone https://github.com/OCA/webkit-tools.git ${HOME}/webkit-tools -b ${VERSION}
  26. - sudo apt-get install xfonts-75dpi
  27. - sudo wget http://sourceforge.net/projects/wkhtmltopdf/files/0.12.2.1/wkhtmltox-0.12.2.1_linux-precise-amd64.deb -P /tmp/
  28. - sudo dpkg -i /tmp/wkhtmltox-0.12.2.1_linux-precise-amd64.deb
  29. - export PATH=${HOME}/maintainer-quality-tools/travis:${PATH}
  30. - travis_install_nightly
  31. script:
  32. - travis_run_tests
  33. after_success:
  34. - travis_after_tests_success