Skip to content

Commit

Permalink
Merge 7549140 into 862fab2
Browse files Browse the repository at this point in the history
  • Loading branch information
sebdiem committed Feb 21, 2018
2 parents 862fab2 + 7549140 commit 36c6f9d
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 32 deletions.
25 changes: 9 additions & 16 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,31 +1,24 @@
language: python
python:
- "2.7"

- "3.3"
- "3.4"
- "3.5"
env:
matrix:
- TOX_ENV=py27-1.10
- TOX_ENV=py34-1.10
- TOX_ENV=py35-1.10
- TOX_ENV=py27-1.9
- TOX_ENV=py34-1.9
- TOX_ENV=py35-1.9
- TOX_ENV=py27-1.8
- TOX_ENV=py33-1.8
- TOX_ENV=py34-1.8
- TOX_ENV=py35-1.8
- TOX_ENV=py27-1.7
- TOX_ENV=py33-1.7
- TOX_ENV=py34-1.7
- DJANGO="1.7"
- DJANGO="1.8"
- DJANGO="1.9"
- DJANGO="1.10"

install:
- pip install -U setuptools wheel
- python setup.py develop
- pip install --use-wheel -U -r requirements/ci.txt
- pip install tox
- pip install tox-travis

script:
- tox -e $TOX_ENV
- tox

after_success:
- coveralls
2 changes: 1 addition & 1 deletion HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ History
* Made CID repsonse header configurable, and optional (thanks @dbaty)

0.2.0 (2016-12-06)
+++++++++++++++++
++++++++++++++++++

* Added support for Django 1.10 middleware (thanks @qbey)
5 changes: 4 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -251,4 +251,7 @@
#texinfo_show_urls = 'footnote'

# If true, do not generate a @detailmenu in the "Top" node's menu.
#texinfo_no_detailmenu = False
#texinfo_no_detailmenu = False

# Make autodoc work with Django
os.environ['DJANGO_SETTINGS_MODULE'] = 'sandbox.settings'
42 changes: 28 additions & 14 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,84 +1,96 @@
[tox]
envlist = py27-1.10, py34-1.10, py35-1.10, py27-1.9, py34-1.9, py35-1.9, py27-1.8, py33-1.8, py34-1.8, py35-1.8, py27-1.7, py33-1.7, py34-1.7, docs
envlist = py{27,34,35}-django1.{9,10}, py{27, 33, 34, 35}-django1.8, py{27, 33, 34}-django1.7, docs

[travis]
python =
2.7: py27
3.4: py34, docs

[travis:env]
DJANGO =
1.7: django1.7
1.8: django1.8, docs
1.9: django1.9
1.10: django1.10

[testenv]
commands = python runtests.py
setenv =
PYTHONPATH = {toxinidir}:{toxinidir}/cid

[testenv:py27-1.10]
[testenv:py27-django1.10]
basepython = python2.7
deps =
-r{toxinidir}/requirements/ci.txt
django>=1.10,<1.11

[testenv:py34-1.10]
[testenv:py34-django1.10]
basepython = python3.4
deps =
-r{toxinidir}/requirements/ci.txt
django>=1.10,<1.11

[testenv:py35-1.10]
[testenv:py35-django1.10]
basepython = python3.5
deps =
-r{toxinidir}/requirements/ci.txt
django>=1.10,<1.11

[testenv:py27-1.9]
[testenv:py27-django1.9]
basepython = python2.7
deps =
-r{toxinidir}/requirements/ci.txt
django>=1.9,<1.10

[testenv:py34-1.9]
[testenv:py34-django1.9]
basepython = python3.4
deps =
-r{toxinidir}/requirements/ci.txt
django>=1.9,<1.10

[testenv:py35-1.9]
[testenv:py35-django1.9]
basepython = python3.5
deps =
-r{toxinidir}/requirements/ci.txt
django>=1.9,<1.10

[testenv:py27-1.8]
[testenv:py27-django1.8]
basepython = python2.7
deps =
-r{toxinidir}/requirements/ci.txt
django>=1.8,<1.9

[testenv:py33-1.8]
[testenv:py33-django1.8]
basepython = python3.3
deps =
-r{toxinidir}/requirements/ci.txt
django>=1.8,<1.9

[testenv:py34-1.8]
[testenv:py34-django1.8]
basepython = python3.4
deps =
-r{toxinidir}/requirements/ci.txt
django>=1.8,<1.9

[testenv:py35-1.8]
[testenv:py35-django1.8]
basepython = python3.5
deps =
-r{toxinidir}/requirements/ci.txt
django>=1.8,<1.9

[testenv:py27-1.7]
[testenv:py27-django1.7]
basepython = python2.7
deps =
-r{toxinidir}/requirements/ci.txt
django>=1.7,<1.8

[testenv:py33-1.7]
[testenv:py33-django1.7]
basepython = python3.3
deps =
-r{toxinidir}/requirements/ci.txt
django>=1.7,<1.8

[testenv:py34-1.7]
[testenv:py34-django1.7]
basepython = python3.4
deps =
-r{toxinidir}/requirements/ci.txt
Expand All @@ -88,5 +100,7 @@ deps =
changedir = docs
deps =
Sphinx==1.2.2
-r{toxinidir}/requirements/ci.txt
django>=1.8,<1.9
commands =
sphinx-build -W -b html -d {envtmpdir}/doctrees . {envtmpdir}/html

0 comments on commit 36c6f9d

Please sign in to comment.