|
|
@ -15,16 +15,26 @@ addons: |
|
|
|
- expect-dev # provides unbuffer utility |
|
|
|
- python-lxml # because pip installation is slow |
|
|
|
|
|
|
|
stages: |
|
|
|
- linting |
|
|
|
- test |
|
|
|
|
|
|
|
jobs: |
|
|
|
include: |
|
|
|
- stage: linting |
|
|
|
env: |
|
|
|
- LINT_CHECK="1" |
|
|
|
- stage: test |
|
|
|
env: |
|
|
|
- TESTS="1" ODOO_REPO="OCA/OCB" |
|
|
|
- stage: test |
|
|
|
env: |
|
|
|
- TESTS="1" ODOO_REPO="odoo/odoo" MAKEPOT="1" |
|
|
|
|
|
|
|
env: |
|
|
|
global: |
|
|
|
- VERSION="10.0" TESTS="0" LINT_CHECK="0" MAKEPOT="0" |
|
|
|
|
|
|
|
matrix: |
|
|
|
- LINT_CHECK="1" |
|
|
|
- TESTS="1" ODOO_REPO="OCA/OCB" |
|
|
|
- TESTS="1" ODOO_REPO="odoo/odoo" MAKEPOT="1" |
|
|
|
|
|
|
|
|
|
|
|
install: |
|
|
|
- git clone --depth=1 https://github.com/OCA/maintainer-quality-tools.git ${HOME}/maintainer-quality-tools |
|
|
|
- export PATH=${HOME}/maintainer-quality-tools/travis:${PATH} |
|
|
|