|
@ -1,16 +1,25 @@ |
|
|
language: python |
|
|
language: python |
|
|
|
|
|
sudo: false |
|
|
|
|
|
cache: |
|
|
|
|
|
apt: true |
|
|
|
|
|
directories: |
|
|
|
|
|
- $HOME/.cache/pip |
|
|
|
|
|
|
|
|
python: |
|
|
python: |
|
|
- "2.7" |
|
|
- "2.7" |
|
|
|
|
|
|
|
|
sudo: false |
|
|
|
|
|
cache: pip |
|
|
|
|
|
|
|
|
|
|
|
addons: |
|
|
addons: |
|
|
apt: |
|
|
apt: |
|
|
|
|
|
sources: |
|
|
|
|
|
- pov-wkhtmltopdf |
|
|
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 |
|
|
|
|
|
- wkhtmltopdf |
|
|
|
|
|
|
|
|
|
|
|
before_install: |
|
|
|
|
|
- "export DISPLAY=:99.0" |
|
|
|
|
|
- "sh -e /etc/init.d/xvfb start" |
|
|
|
|
|
|
|
|
env: |
|
|
env: |
|
|
global: |
|
|
global: |
|
@ -28,11 +37,10 @@ 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 |
|
|
- printf '[options]\n\nrunning_env = dev' > ${HOME}/.openerp_serverrc |
|
|
- printf '[options]\n\nrunning_env = dev' > ${HOME}/.openerp_serverrc |
|
|
- pip install unidecode pyserial pycountry |
|
|
|
|
|
|
|
|
|
|
|
script: |
|
|
script: |
|
|
- travis_run_tests |
|
|
- travis_run_tests |
|
|