From 2d80e977f5bdb7b5b0b49c5ea89cd74a8e79d764 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20BEAU?= Date: Tue, 5 Oct 2021 11:34:21 +0200 Subject: [PATCH] [EXP] experimental try to run 14 version on 15 version --- .travis.yml | 16 ++++++++++------ requirements.txt | 1 + 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index 5e8e3a6..0e4502b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,7 +5,7 @@ cache: - $HOME/.cache/pre-commit python: - - "3.6" + - "3.7" addons: postgresql: "9.6" @@ -21,17 +21,21 @@ jobs: - stage: test env: - TESTS=1 ODOO_REPO="odoo/odoo" MAKEPOT="1" - - stage: test - env: - - TESTS=1 ODOO_REPO="OCA/OCB" + #- stage: test + # env: + # - TESTS=1 ODOO_REPO="OCA/OCB" env: global: - VERSION="14.0" TESTS="0" LINT_CHECK="0" MAKEPOT="0" + - VERSION="15.0" TESTS="0" LINT_CHECK="0" MAKEPOT="0" - MQT_DEP=PIP install: - - git clone --depth=1 https://github.com/OCA/maintainer-quality-tools.git - ${HOME}/maintainer-quality-tools + - pip install git+https://github.com/acsone/setuptools-odoo@odoo15 + - if [ $VERSION = '15.0' ]; then grep -rl 14.0 . | grep __manifest__.py | xargs sed + -i "s/14.0/15.0/g" ;fi + - git clone --depth=1 https://github.com/akretion/maintainer-quality-tools.git -b + fix-compatibilty-with-15-branch ${HOME}/maintainer-quality-tools - export PATH=${HOME}/maintainer-quality-tools/travis:${PATH} - travis_install_nightly diff --git a/requirements.txt b/requirements.txt index 368c5c2..21ebf78 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1,3 @@ +setuptools-odoo @ git+https://github.com/acsone/setuptools-odoo/pull/60 # generated from manifests external_dependencies cryptography