mirror of
https://github.com/OCA/report-print-send.git
synced 2025-02-16 07:11:31 +02:00
[FIX] Update travis to new spec
This commit is contained in:
37
.travis.yml
37
.travis.yml
@@ -1,29 +1,42 @@
|
|||||||
|
language: python
|
||||||
sudo: false
|
sudo: false
|
||||||
cache: pip
|
cache:
|
||||||
|
apt: true
|
||||||
|
directories:
|
||||||
|
- $HOME/.cache/pip
|
||||||
|
|
||||||
|
python:
|
||||||
|
- "2.7"
|
||||||
|
|
||||||
addons:
|
addons:
|
||||||
apt:
|
apt:
|
||||||
packages:
|
packages:
|
||||||
- expect-dev # provides unbuffer utility
|
- expect-dev # provides unbuffer utility
|
||||||
- python-lxml # because pip installation is slow
|
- python-lxml # because pip installation is slow
|
||||||
|
- python-simplejson
|
||||||
|
- python-serial
|
||||||
|
- python-yaml
|
||||||
- cups
|
- cups
|
||||||
- libcups2-dev
|
- libcups2-dev
|
||||||
|
|
||||||
language: python
|
|
||||||
python:
|
|
||||||
- "2.7"
|
|
||||||
|
|
||||||
env:
|
env:
|
||||||
- VERSION="9.0" LINT_CHECK="1"
|
global:
|
||||||
- VERSION="9.0" ODOO_REPO="odoo/odoo" UNIT_TEST="1" LINT_CHECK="0"
|
- VERSION="9.0" TESTS="0" LINT_CHECK="0" TRANSIFEX="0"
|
||||||
- VERSION="9.0" ODOO_REPO="OCA/OCB" UNIT_TEST="1" LINT_CHECK="0"
|
- TRANSIFEX_USER='transbot@odoo-community.org'
|
||||||
|
- secure: HwYn7vV4wIM4ocObmgkylZmaw6FQynkbMiJmoTTfgL3y3Gy6IAPVXgTNXFUiIuYXZZ4B2GOAfcECQejCCw2KP7OCcBo1oGNuSJ2aVwiQcRH1ENDLTsMq1jcB/4vQuAmTS8WEE5nRkPyutwgE4kBYvZC4tENatakafPRAS+iNqpQ=
|
||||||
|
|
||||||
|
matrix:
|
||||||
|
- LINT_CHECK="1"
|
||||||
|
- TRANSIFEX="1"
|
||||||
|
- TESTS="1" ODOO_REPO="odoo/odoo"
|
||||||
|
- TESTS="1" ODOO_REPO="OCA/OCB"
|
||||||
|
|
||||||
virtualenv:
|
virtualenv:
|
||||||
system_site_packages: true
|
system_site_packages: true
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- git clone https://github.com/OCA/maintainer-quality-tools.git $HOME/maintainer-quality-tools
|
- git clone --depth=1 https://github.com/OCA/maintainer-quality-tools.git ${HOME}/maintainer-quality-tools
|
||||||
- export PATH=$HOME/maintainer-quality-tools/travis:$PATH
|
- export PATH=${HOME}/maintainer-quality-tools/travis:${PATH}
|
||||||
- travis_install_nightly
|
- travis_install_nightly
|
||||||
- pip install pycups==1.9.66
|
- pip install pycups==1.9.66
|
||||||
- pip install PyPDF2==1.18
|
- pip install PyPDF2==1.18
|
||||||
@@ -34,4 +47,4 @@ script:
|
|||||||
- travis_run_tests
|
- travis_run_tests
|
||||||
|
|
||||||
after_success:
|
after_success:
|
||||||
coveralls
|
- travis_after_tests_success
|
||||||
|
|||||||
Reference in New Issue
Block a user