Skip to content

Commit 4e80dc0

Browse files
committed
Test against multiple versions of Oscar and Django
To anticipate migrating to Oscar 1.1 and Django 1.8, let's run the tests on Travis already.
1 parent 86b1312 commit 4e80dc0

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

.travis.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,16 @@ python:
44
- "3.3"
55
- "3.4"
66

7+
env:
8+
global:
9+
- PYTHONPATH=.:$PYTHONPATH
10+
matrix:
11+
- DJANGO=Django==1.7.8 OSCAR=django-oscar==1.0.2
12+
- DJANGO=Django==1.7.8 OSCAR=django-oscar==1.1
13+
- DJANGO=Django==1.8.2 OSCAR=django-oscar==1.1
14+
715
install:
8-
- pip install 'django-oscar>=0.7'
16+
- pip install $DJANGO $OSCAR
917
- pip install -r requirements.txt
1018

11-
env:
12-
- PYTHONPATH=.:$PYTHONPATH
13-
1419
script: py.test tests

0 commit comments

Comments
 (0)