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.
40 lines
1.1 KiB
40 lines
1.1 KiB
language: python
|
|
sudo: false
|
|
cache: pip
|
|
|
|
python:
|
|
- "2.7"
|
|
|
|
addons:
|
|
apt:
|
|
packages:
|
|
- expect-dev # provides unbuffer utility
|
|
- python-lxml # because pip installation is slow
|
|
|
|
env:
|
|
global:
|
|
- VERSION="8.0" TESTS="0" LINT_CHECK="0" TRANSIFEX="0"
|
|
- TRANSIFEX_USER='transbot@odoo-community.org'
|
|
- secure: Z06mZCN+Hm3myqHSOZpOOk1pd4oq1epAWZv6m9OX2bTNHbhyOVOGK6JWWsnDm/3DUCN1ZeLtSGOl9bvQfMa8ahQHA80MkLL16YlTvQV59Lh+L2gAYmxX+ogJCJgeQSVAXlGLscgkADCu/HzDlmatrDeROMtULn5i23j2qcyUNyM=
|
|
|
|
matrix:
|
|
- LINT_CHECK="1"
|
|
- TRANSIFEX="1"
|
|
- TESTS="1" ODOO_REPO="odoo/odoo"
|
|
- TESTS="1" ODOO_REPO="OCA/OCB"
|
|
- UNIT_TEST="1"
|
|
|
|
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
|
|
- printf '[options]\n\nrunning_env = dev\n' > ${HOME}/.openerp_serverrc
|
|
- ln -s ${TRAVIS_BUILD_DIR}/server_environment_files_sample ${TRAVIS_BUILD_DIR}/server_environment_files
|
|
script:
|
|
- travis_run_tests
|
|
|
|
after_success:
|
|
- travis_after_tests_success
|