Skip to content

Commit

Permalink
Merge pull request #130 from django-oscar/update-travis
Browse files Browse the repository at this point in the history
Sanify travis.yml and add Django 2.1
  • Loading branch information
Martijn Jacobs committed Aug 17, 2018
2 parents 13cc741 + 77122cf commit deccd4a
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 7 deletions.
15 changes: 10 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,25 @@ python:
- 3.6

env:
- DJANGO=Django==1.11.13 OSCAR=django-oscar==1.5.4
- DJANGO=Django==2.0.5 OSCAR=django-oscar==1.6
- DJANGO='Django<2.0' OSCAR='django-oscar<1.6'
- DJANGO='Django<2.0' OSCAR='django-oscar<1.7'
- DJANGO='Django<2.1' OSCAR='django-oscar<1.7'
- DJANGO='Django<2.2' OSCAR='django-oscar<1.7'

matrix:
exclude:
- python: 2.7
env: DJANGO=Django==2.0.5 OSCAR=django-oscar==1.6
env: DJANGO='Django<2.1' OSCAR='django-oscar<1.7'
- python: 2.7
env: DJANGO='Django<2.2' OSCAR='django-oscar<1.7'

before_install:
- pip install codecov

install:
- pip install $OSCAR
- if [ ${DJANGO} == "Django==2.0.5" ]; then pip install "djangorestframework>=3.7"; fi
- pip install $OSCAR $DJANGO
- if ! [ ${DJANGO} == "Django<2.0" ]; then pip install "djangorestframework>=3.7"; fi
- pip freeze
- make install

script:
Expand Down
4 changes: 2 additions & 2 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ Django 1.11:
- Osccar 1.5.3 / 1.6
- requires `djangorestframework>=3.4`

Django 2.0:
~~~~~~~~~~~
Django 2.0 and 2.1:
~~~~~~~~~~~~~~~~~~~
- Oscar 1.6
- requires `djangorestframework>=3.7`
- requires python 3.x
Expand Down

0 comments on commit deccd4a

Please sign in to comment.