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.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
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. - "export PATH=$PWD/travis_phantomjs/phantomjs-2.1.1-linux-x86_64/bin:$PATH"
  21. - "if [ $(phantomjs --version) != '2.1.1' ]; then rm -rf $PWD/travis_phantomjs; mkdir -p $PWD/travis_phantomjs; fi"
  22. - "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"
  23. - "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"
  24. - "phantomjs --version"
  25. install:
  26. - pip install cachetools
  27. - pip install pdfconv
  28. - git clone https://github.com/OCA/maintainer-quality-tools.git ${HOME}/maintainer-quality-tools
  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