Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[IMP] rename_fields: Be able to use a cursor instead of Environment #355

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

[IMP] add rename_fields_cr, keep rename_fields for backwards compatib…

86f48a5
Select commit
Loading
Failed to load commit list.
Open

[IMP] rename_fields: Be able to use a cursor instead of Environment #355

[IMP] add rename_fields_cr, keep rename_fields for backwards compatib…
86f48a5
Select commit
Loading
Failed to load commit list.
Travis CI / Travis CI - Pull Request succeeded Nov 24, 2023 in 13m 39s

Build Passed

The build passed, just like the previous build.

Details

This is a pull request build.

It is running a build against the merge commit, after merging #355 [IMP] rename_fields: Be able to use a cursor instead of Environment.
Any changes that have been made to the master branch before the build ran are also included.

Jobs and Stages

This build only has a single job.
You can use jobs to test against multiple versions of your runtime or dependencies, or to speed up your build.

Build Configuration

Build Option Setting
Language Python
Operating System Linux (Trusty)
Python Version 3.6
Build Configuration
{
  "language": "python",
  "os": [
    "linux"
  ],
  "dist": "trusty",
  "sudo": false,
  "python": [
    "3.6"
  ],
  "addons": {
    "apt": {
      "packages": [
        "python3-lxml",
        "python3-simplejson",
        "python3-serial",
        "python3-yaml",
        "python3-passlib",
        "python3-psycopg2",
        "python3-werkzeug",
        "realpath"
      ]
    },
    "postgresql": "9.6"
  },
  "script": [
    "source ~/virtualenv/python2.7/bin/activate",
    "pip install -q -r requirements.txt",
    "export PYTHONPATH=~/build/OCA/openupgradelib:$PYTHONPATH",
    "coverage run setup.py test",
    "PYTHONDONTWRITEBYTECODE=1 python setup.py install",
    "set -e",
    "git clone https://github.com/oca/openupgrade --depth 1 --no-single-branch -b 6.1 ~/openupgrade",
    "cd ~/openupgrade",
    "pip install psycopg2-binary",
    "git reset --hard origin/8.0",
    "egrep -v \"(openupgradelib)|(psycopg2)\" requirements.txt | pip install -q -r /dev/stdin",
    "createdb testdb",
    "git reset --hard origin/6.1",
    "./openerp-server -d testdb -i openupgradelib_tests --addons-path addons,/home/travis/build/OCA/openupgradelib/tests/addons --stop-after-init",
    "echo \"UPDATE ir_module_module SET latest_version = '6.0.1.0.0' WHERE name = 'openupgradelib_tests'\" | psql testdb",
    "./openerp-server -d testdb -u openupgradelib_tests --addons-path addons,/home/travis/build/OCA/openupgradelib/tests/addons --stop-after-init",
    "echo \"UPDATE ir_module_module SET demo = FALSE\" | psql testdb",
    "git reset --hard origin/7.0",
    "./openerp-server -d testdb -u all --addons-path addons,/home/travis/build/OCA/openupgradelib/tests/addons --stop-after-init",
    "git reset --hard origin/8.0",
    "./openerp-server -d testdb -u all --addons-path addons,/home/travis/build/OCA/openupgradelib/tests/addons --stop-after-init",
    "git reset --hard origin/9.0",
    "egrep -v \"(openupgradelib)|(psycopg2)\" requirements.txt | pip install -q -r /dev/stdin",
    "./openerp-server -d testdb -u all --addons-path addons,/home/travis/build/OCA/openupgradelib/tests/addons --stop-after-init",
    "git reset --hard origin/10.0",
    "egrep -v \"(openupgradelib)|(psycopg2)\" requirements.txt | pip install -q -r /dev/stdin",
    "./odoo-bin -d testdb -u all --addons-path addons,/home/travis/build/OCA/openupgradelib/tests/addons --stop-after-init",
    "source ~/virtualenv/python3.6/bin/activate",
    "pushd /home/travis/build/OCA/openupgradelib && python setup.py install && popd",
    "pip install psycopg2-binary",
    "git reset --hard origin/11.0",
    "egrep -v \"(openupgradelib)|(psycopg2)\" requirements.txt | pip install -q -r /dev/stdin",
    "./odoo-bin -d testdb -u all --addons-path addons,/home/travis/build/OCA/openupgradelib/tests/addons --stop-after-init"
  ]
}