Files
report-print-send/.travis.yml
2019-10-08 12:11:41 +02:00

48 lines
1.0 KiB
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
- pip install pycups==1.9.73
- pip install PyPDF2==1.18
- pip install requests
- git clone https://github.com/OCA/reporting-engine -b ${VERSION} $HOME/reporting-engine
script:
- travis_run_tests
after_success:
- travis_after_tests_success