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.

45 lines
1.2 KiB

7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
6 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
  1. language: python
  2. python:
  3. - "3.6"
  4. notifications:
  5. email: false
  6. sudo: false
  7. cache: pip
  8. addons:
  9. postgresql: "9.3"
  10. apt:
  11. packages:
  12. - expect-dev
  13. - python-lxml
  14. env:
  15. global:
  16. - VERSION="11.0" TESTS="0" LINT_CHECK="0" TRANSIFEX="0"
  17. matrix:
  18. - TESTS="1" ODOO_REPO="odoo/odoo"
  19. before_install:
  20. - sudo apt-get install -y unoconv
  21. - "export PATH=$PWD/travis_phantomjs/phantomjs-2.1.1-linux-x86_64/bin:$PATH"
  22. - "if [ $(phantomjs --version) != '2.1.1' ]; then rm -rf $PWD/travis_phantomjs; mkdir -p $PWD/travis_phantomjs; fi"
  23. - "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"
  24. - "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"
  25. - "phantomjs --version"
  26. install:
  27. - pip install cachetools
  28. - pip install pdfconv
  29. - git clone https://github.com/OCA/maintainer-quality-tools.git ${HOME}/maintainer-quality-tools
  30. - export PATH=${HOME}/maintainer-quality-tools/travis:${PATH}
  31. - travis_install_nightly
  32. script:
  33. - travis_run_tests
  34. after_success:
  35. - travis_after_tests_success