mirror of
https://github.com/OCA/report-print-send.git
synced 2025-02-16 07:11:31 +02:00
[FIX] .travis.yml: Fix definition
This commit is contained in:
29
.travis.yml
29
.travis.yml
@@ -1,50 +1,31 @@
|
||||
language: python
|
||||
sudo: false
|
||||
cache:
|
||||
apt: true
|
||||
directories:
|
||||
- $HOME/.cache/pip
|
||||
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
|
||||
|
||||
before_install:
|
||||
- "export DISPLAY=:99.0"
|
||||
- "sh -e /etc/init.d/xvfb start"
|
||||
|
||||
env:
|
||||
global:
|
||||
- VERSION="11.0" TESTS="0" LINT_CHECK="0" TRANSIFEX="0"
|
||||
- TRANSIFEX_USER='transbot@odoo-community.org'
|
||||
- WKHTMLTOPDF_VERSION='0.12.4'
|
||||
- secure: HwYn7vV4wIM4ocObmgkylZmaw6FQynkbMiJmoTTfgL3y3Gy6IAPVXgTNXFUiIuYXZZ4B2GOAfcECQejCCw2KP7OCcBo1oGNuSJ2aVwiQcRH1ENDLTsMq1jcB/4vQuAmTS8WEE5nRkPyutwgE4kBYvZC4tENatakafPRAS+iNqpQ=
|
||||
- VERSION="11.0" TESTS="0" LINT_CHECK="0" MAKEPOT="0"
|
||||
- WKHTMLTOPDF_VERSION='0.12.5'
|
||||
|
||||
matrix:
|
||||
- LINT_CHECK="1"
|
||||
- TRANSIFEX="1"
|
||||
- TESTS="1" ODOO_REPO="OCA/OCB"
|
||||
- TESTS="1" ODOO_REPO="odoo/odoo"
|
||||
- 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
|
||||
|
||||
Reference in New Issue
Block a user