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.

49 lines
1.3 KiB

7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
  1. language: python
  2. python:
  3. - "3.5"
  4. notifications:
  5. email: false
  6. sudo: false
  7. cache: pip
  8. addons:
  9. apt:
  10. packages:
  11. - unoconv
  12. - ghostscript
  13. - imagemagick
  14. - libav-tools
  15. - expect-dev
  16. - python-lxml
  17. - python-simplejson
  18. - python-serial
  19. env:
  20. global:
  21. - VERSION="11.0" TESTS="0" LINT_CHECK="0" TRANSIFEX="0"
  22. matrix:
  23. - TESTS="1" ODOO_REPO="odoo/odoo"
  24. before_install:
  25. - "export PATH=$PWD/travis_phantomjs/phantomjs-2.1.1-linux-x86_64/bin:$PATH"
  26. - "if [ $(phantomjs --version) != '2.1.1' ]; then rm -rf $PWD/travis_phantomjs; mkdir -p $PWD/travis_phantomjs; fi"
  27. - "if [ $(phantomjs --version) != '2.1.1' ]; then wget https://assets.membergetmember.co/software/phantomjs-2.1.1-linux-x86_64.tar.bz2 -O $PWD/travis_phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2; fi"
  28. - "if [ $(phantomjs --version) != '2.1.1' ]; then tar -xvf $PWD/travis_phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2 -C $PWD/travis_phantomjs; fi"
  29. - "phantomjs --version"
  30. install:
  31. - pip install moviepy
  32. - pip install Wand
  33. - git clone https://github.com/OCA/maintainer-quality-tools.git ${HOME}/maintainer-quality-tools
  34. - export PATH=${HOME}/maintainer-quality-tools/travis:${PATH}
  35. - travis_install_nightly
  36. script:
  37. - travis_run_tests
  38. after_success:
  39. - travis_after_tests_success