Browse Source

Merge pull request #140 from laslabs/hotfix/10.0/runbot

[FIX][10.0] travis: Update travis file to new standard
pull/157/head
Pedro M. Baeza 8 years ago
committed by GitHub
parent
commit
f80aea9836
  1. 35
      .travis.yml
  2. 3
      requirements.txt

35
.travis.yml

@ -1,11 +1,13 @@
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: sources:
@ -15,28 +17,33 @@ addons:
- python-lxml # because pip installation is slow - python-lxml # because pip installation is slow
- wkhtmltopdf - wkhtmltopdf
before_install:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
env: env:
- VERSION="10.0" LINT_CHECK="1"
- VERSION="10.0" ODOO_REPO="odoo/odoo" LINT_CHECK="0"
- VERSION="10.0" ODOO_REPO="OCA/OCB" LINT_CHECK="0"
- VERSION="10.0" UNIT_TEST="1" LINT_CHECK="0"
global:
- VERSION="10.0" TESTS="0" LINT_CHECK="0" TRANSIFEX="0"
- TRANSIFEX_USER='transbot@odoo-community.org'
- secure: jX9I8iBSTGMGYNzj5zJkh/bvmXmemjqlKpVezZ2QMqaoXHgPPUlktxBwTMlmNeuJ5L9DlDiCqOiXpF41LDmKmjX/e99G15cvNSfQc/jG+exIfo9KSbc6aQSu8cqP+yu1MGTsuuq67Wm8N45+fFJGGsySUbGWFPXnF4MVIiZpqx0=
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
before_install:
- "export DISPLAY=:910.0"
- "sh -e /etc/init.d/xvfb start"
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
after_success: after_success:
coveralls
- travis_after_tests_success

3
requirements.txt

@ -0,0 +1,3 @@
unidecode
pyserial
pycountry
Loading…
Cancel
Save