Skip to content

Commit

Permalink
[CI] test against odoo v7 and v8
Browse files Browse the repository at this point in the history
Use matrix on Travis to test against v7 and v8
  • Loading branch information
Pierre Verkest committed Nov 15, 2016
1 parent 153194b commit 8006310
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .travis.yml
Expand Up @@ -30,9 +30,10 @@ addons:

env:
global:
- VERSION="8.0"
- ODOO_VERSION="8.0"
matrix:
- VERSION="8.0"
- ODOO_VERSION="8.0"
- ODOO_VERSION="7.0"

# set up an X server to run wkhtmltopdf.
before_install:
Expand All @@ -42,7 +43,7 @@ before_install:
install:
- compare -version
- python bootstrap.py
- bin/buildout -c buildout.cfg
- bin/buildout -c buildout.v${ODOO_VERSION}.cfg
- createdb ort
- bin/start_odoo -d ort --stop-after-init -i base

Expand Down
24 changes: 24 additions & 0 deletions buildout.v7.0.cfg
@@ -0,0 +1,24 @@
[buildout]
extends = buildout.cfg

[odoo]
recipe = anybox.recipe.openerp:server
version = git https://github.com/oca/ocb.git ocb 7.0 --depth=1

[versions]
lxml = 2.3.6
docutils = 0.9
pyparsing = 1.5.7
aeroolib = 1.2.0
odfpy = 0.9.6
Werkzeug = 0.8.3
reportlab = 3.1.44
pillow = 2.7
pytz = 2014.2
genshi = 0.6
flake8 = 2.1.0
pyflakes = 0.8.1
python-dateutil = 1.5
vobject = <0.9
psutil = 2.2.1
feedparser = 5.1.3
10 changes: 10 additions & 0 deletions buildout.v8.0.cfg
@@ -0,0 +1,10 @@
[buildout]
extends = buildout.cfg

[versions]
psutil = 2.2.1
feedparser = 5.1.3
paramiko = 1.16.0
gevent = 1.0.2
pysftp = 0.2.8
wstools = 0.4.3
Binary file not shown.

0 comments on commit 8006310

Please sign in to comment.