mirror of
https://github.com/OCA/report-print-send.git
synced 2025-02-16 07:11:31 +02:00
Currently, some Python dependencies are being installed manually from the `.travis.yml` file, using pip install python_package Not only that way is a bad practice, but also prevents those Python modules to be retrieved when an Odoo module is installed via MQT. In addition, the modules `requests` and `PyPDF2` are removed, as they already are in Odoo's requirements.
45 lines
957 B
YAML
45 lines
957 B
YAML
language: python
|
|
sudo: false
|
|
cache:
|
|
apt: true
|
|
directories:
|
|
- $HOME/.cache/pip
|
|
|
|
python:
|
|
- "3.5"
|
|
|
|
addons:
|
|
postgresql: "9.6"
|
|
apt:
|
|
packages:
|
|
- expect-dev # provides unbuffer utility
|
|
- python-lxml # because pip installation is slow
|
|
- python-simplejson
|
|
- python-serial
|
|
- python-yaml
|
|
- cups
|
|
- libcups2-dev
|
|
|
|
env:
|
|
global:
|
|
- VERSION="12.0" TESTS="0" LINT_CHECK="0" MAKEPOT="0"
|
|
- WKHTMLTOPDF_VERSION='0.12.5'
|
|
|
|
matrix:
|
|
- LINT_CHECK="1"
|
|
- TESTS="1" ODOO_REPO="OCA/OCB"
|
|
- TESTS="1" ODOO_REPO="odoo/odoo" MAKEPOT="1"
|
|
|
|
|
|
install:
|
|
- git clone --depth=1 https://github.com/OCA/maintainer-quality-tools.git ${HOME}/maintainer-quality-tools
|
|
- export PATH=${HOME}/maintainer-quality-tools/travis:${PATH}
|
|
- travis_install_nightly
|
|
- git clone https://github.com/OCA/reporting-engine -b ${VERSION} $HOME/reporting-engine
|
|
|
|
script:
|
|
- travis_run_tests
|
|
|
|
after_success:
|
|
- travis_after_tests_success
|