mirror of
https://github.com/OCA/report-print-send.git
synced 2025-02-16 07:11:31 +02:00
* [FIX] requirements.txt: Using pypdf2 used from odoo original requirements - Fix https://github.com/OCA/report-print-send/issues/186 * [REF] .travis.yml: Install libcups2-dev package In order to fix runbot error installing pycups: ```bash x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -DVERSION="1.9.73" -I/usr/include/python3.5m -I/.repo_requirements/virtualenv/python3.5/include/python3.5m -c cupsmodule.c -o build/temp.linux-x86_64-3.5/cupsmodule.o cupsmodule.c:23:23: fatal error: cups/cups.h: No such file or directory #include <cups/cups.h> ^ compilation terminated. error: command 'x86_64-linux-gnu-gcc' failed wit ```
36 lines
714 B
YAML
36 lines
714 B
YAML
language: python
|
||
sudo: false
|
||
cache: pip
|
||
|
||
python:
|
||
- "3.5"
|
||
|
||
addons:
|
||
postgresql: "9.6"
|
||
apt:
|
||
packages:
|
||
- expect-dev # provides unbuffer utility
|
||
- libcups2-dev # Required to install pycups
|
||
|
||
env:
|
||
global:
|
||
- VERSION="11.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
|
||
|
||
script:
|
||
- travis_run_tests
|
||
|
||
after_success:
|
||
- travis_after_tests_success
|