mirror of
https://github.com/OCA/account-financial-tools.git
synced 2025-02-02 12:47:26 +02:00
The new runbot based on travis2docker use the same .travis.yml configuration `UNIT_TEST="1"` test all modules but delete the previous database, then we will have the database with the latest module tested in runbot. Disabling this option we will have all modules tested installed in runbot
43 lines
1.0 KiB
YAML
43 lines
1.0 KiB
YAML
language: python
|
|
|
|
python:
|
|
- "2.7"
|
|
|
|
sudo: false
|
|
cache: pip
|
|
|
|
addons:
|
|
postgresql: "9.2" # minimal postgresql version for the daterange method
|
|
apt:
|
|
packages:
|
|
- expect-dev # provides unbuffer utility
|
|
- python-lxml # because pip installation is slow
|
|
- python-simplejson
|
|
- python-serial
|
|
|
|
env:
|
|
global:
|
|
- VERSION="9.0" TESTS="0" LINT_CHECK="0" TRANSIFEX="0"
|
|
- TRANSIFEX_USER='transbot@odoo-community.org'
|
|
- secure: "XzZzWhiVWXHI+tmcdYH0rPjietxvr1nUXuCRiqnDY3fM0lq6RmtwOlpDDwYEiX+9fHAE8mDttlJ7H4J/YZ+0ugwZxeM10yuT7FwkJY9kPvBe6T59P9aD9R6mSC/da4JGVd+Th5QXDBuBGRBVdY/qBT2lagHuSzBZdKwvMMsaBtA="
|
|
|
|
matrix:
|
|
- LINT_CHECK="1"
|
|
- TRANSIFEX="1"
|
|
- TESTS="1" ODOO_REPO="odoo/odoo"
|
|
- TESTS="1" ODOO_REPO="OCA/OCB
|
|
|
|
virtualenv:
|
|
system_site_packages: true
|
|
|
|
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
|
|
|
|
script:
|
|
- travis_run_tests
|
|
|
|
after_success:
|
|
- travis_after_tests_success
|