You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
45 lines
925 B
45 lines
925 B
language: python
|
|
|
|
python:
|
|
- "2.7"
|
|
|
|
#dist: trusty
|
|
sudo: false
|
|
cache: pip
|
|
|
|
addons:
|
|
apt:
|
|
packages:
|
|
- expect-dev # provides unbuffer utility
|
|
- python-lxml # because pip installation is slow
|
|
|
|
env:
|
|
global:
|
|
- VERSION="9.0" TESTS="0" LINT_CHECK="0" TRANSIFEX="0" UNIT_TEST="0"
|
|
- EXCLUDE="hw_printer_network"
|
|
- PYLINT_ODOO_JSLINTRC="/home/travis/maintainer-quality-tools/travis/cfg/.jslintrc"
|
|
|
|
|
|
matrix:
|
|
- LINT_CHECK="1"
|
|
- TESTS="1" ODOO_REPO="odoo/odoo"
|
|
- TESTS="1" ODOO_REPO="OCA/OCB"
|
|
- TESTS="1" UNIT_TEST="1"
|
|
|
|
virtualenv:
|
|
system_site_packages: true
|
|
|
|
install:
|
|
- pip install anybox.testing.openerp
|
|
- git clone https://github.com/it-projects-llc/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:
|
|
coveralls
|
|
|
|
notifications:
|
|
email: false
|