Skip to content

Commit

Permalink
[FIX] install a python3 odoo version to avoid issues with python2
Browse files Browse the repository at this point in the history
  • Loading branch information
hbrunn committed May 14, 2020
1 parent cf0607b commit b3b4513
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion runbot_buildout/examples/buildout.cfg
Expand Up @@ -10,4 +10,4 @@ anybox.recipe.odoo = 1.9.3.dev0
[odoo]
recipe = anybox.recipe.odoo:server

version = git http://github.com/oca/ocb.git odoo 9.0 depth=1
version = git http://github.com/oca/ocb.git odoo 11.0 depth=1
6 changes: 3 additions & 3 deletions runbot_buildout/tests/test_runbot_buildout.py
Expand Up @@ -29,11 +29,11 @@ def _git(*args):
os.path.join(git_dir, 'buildout.cfg'), 'a'
) as buildout_cfg:
buildout_cfg.write(
'\naddons = git %s parts/test 9.0\n' % git_dir,
'\naddons = git %s parts/test 11.0\n' % git_dir,
)

_git('init')
_git('checkout', '-b', 'buildout-9.0-testing')
_git('checkout', '-b', 'buildout-11.0-testing')
_git('add', '.')
_git('commit', '-m', 'initial commit')

Expand All @@ -45,7 +45,7 @@ def _git(*args):
cls.repo._update(cls.repo)
cls.repo._scheduler(cls.repo.ids)

_git('checkout', '--orphan', '9.0')
_git('checkout', '--orphan', '11.0')
_git('commit', '-m', 'initial commit')

def test_00_buildout(self):
Expand Down

0 comments on commit b3b4513

Please sign in to comment.