Files
report-print-send/.travis.yml
Alexandre Fayolle acad492643 Update travis configuration
Follow OCA/maintainer-quality-tools#187 and use addons/apt/package directive to
install our build dependencies. This allows using container based Travis builds
(which should be faster).
2015-05-14 22:14:47 +02:00

38 lines
930 B
YAML

addons:
apt:
packages:
- expect-dev # provides unbuffer utility
- python-lxml # because pip installation is slow
language: python
python:
- "2.7"
env:
- VERSION="8.0" LINT_CHECK="1"
- VERSION="8.0" ODOO_REPO="odoo/odoo" UNIT_TEST="1" LINT_CHECK="0"
- VERSION="8.0" ODOO_REPO="OCA/OCB" UNIT_TEST="1" LINT_CHECK="0"
virtualenv:
system_site_packages: true
before_install:
- sudo apt-get update
- sudo apt-get install libcups2-dev cups
install:
- git clone 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 coveralls flake8
- pip install pycups==1.9.66
- 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:
coveralls