Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Test against current versions of django in CI
- Ignore .cache - Make test pass in django 1.9 by adding a bunch of app_labels - Remove requirements files, deps managed in tox.ini
- Loading branch information
Showing
18 changed files
with
90 additions
and
120 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,3 +15,4 @@ | |
/example/database.sqlite | ||
/example/.env | ||
/report.pylint | ||
.cache/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,32 @@ | ||
language: python | ||
python: | ||
- 2.7 | ||
env: | ||
- TOX_ENV=py34-dj18 | ||
- TOX_ENV=py34-dj17 | ||
- TOX_ENV=py34-dj16 | ||
- TOX_ENV=py34-dj15 | ||
- TOX_ENV=py33-dj18 | ||
- TOX_ENV=py33-dj17 | ||
- TOX_ENV=py33-dj16 | ||
- TOX_ENV=py33-dj15 | ||
- TOX_ENV=py27-dj18 | ||
- TOX_ENV=py27-dj17 | ||
- TOX_ENV=py27-dj16 | ||
- TOX_ENV=py27-dj15 | ||
- TOX_ENV=py27-dj14 | ||
- TOX_ENV=py27-dj13 | ||
|
||
# django 1.9 is only supported on py27 and py35 | ||
# django 1.8 is the first realease supporting py35 | ||
matrix: | ||
include: | ||
- python: 2.7 | ||
env: TOXENV=py27-1.7 | ||
- python: 2.7 | ||
env: TOXENV=py27-1.8 | ||
- python: 3.2 | ||
env: TOXENV=py32-1.7 | ||
- python: 3.2 | ||
env: TOXENV=py32-1.8 | ||
- python: 3.3 | ||
env: TOXENV=py33-1.7 | ||
- python: 3.3 | ||
env: TOXENV=py33-1.8 | ||
- python: 3.4 | ||
env: TOXENV=py34-1.7 | ||
- python: 3.4 | ||
env: TOXENV=py34-1.8 | ||
- python: 3.4 | ||
env: TOXENV=py34-1.9 | ||
- python: 3.5 | ||
env: TOXENV=py35-1.8 | ||
- python: 3.5 | ||
env: TOXENV=py35-1.9 | ||
install: | ||
- pip install tox | ||
script: | ||
- tox -e $TOX_ENV | ||
- tox |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
django-haystack>=2.0.0,<2.1.0 | ||
django-haystack>=2.4.1,<2.5.0 | ||
fudge | ||
lxml | ||
pylint | ||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,90 +1,33 @@ | ||
[pytest] | ||
DJANGO_SETTINGS_MODULE=tests.app.settings | ||
|
||
[tox] | ||
args_are_paths = false | ||
envlist = | ||
{py27,py32,py33,py34}-{1.7,1.8}, | ||
{py27,py34,py35}-{1.9, master} | ||
|
||
[testenv] | ||
basepython = | ||
py27: python2.7 | ||
py32: python3.2 | ||
py33: python3.3 | ||
py34: python3.4 | ||
py35: python3.5 | ||
usedevelop = true | ||
pip_pre = true | ||
setenv = PYTHONPATH={toxinidir} | ||
commands = py.test | ||
deps = | ||
1.7: Django>=1.7,<1.8 | ||
1.8: Django>=1.8,<1.9 | ||
1.9: Django>=1.9,<1.10 | ||
master: https://github.com/django/django/archive/master.tar.gz | ||
-r{toxinidir}/requirements/common.pip | ||
|
||
[testenv:docs] | ||
changedir = docs | ||
commands = make html | ||
deps = | ||
-r{toxinidir}/requirements/django-dev.pip | ||
Sphinx | ||
|
||
; -- python 3.4 --------------------------------------------------------------- | ||
|
||
[testenv:py34-dj] | ||
basepython = python3.4 | ||
commands = python -W error {envbindir}/coverage run setup.py test [] | ||
deps = -r{toxinidir}/requirements/django-dev.pip | ||
|
||
[testenv:py34-dj18] | ||
basepython = python3.4 | ||
deps = -r{toxinidir}/requirements/django-1.8.x.pip | ||
|
||
[testenv:py34-dj17] | ||
basepython = python3.4 | ||
deps = -r{toxinidir}/requirements/django-1.7.x.pip | ||
|
||
[testenv:py34-dj16] | ||
basepython = python3.4 | ||
deps = -r{toxinidir}/requirements/django-1.6.x.pip | ||
|
||
[testenv:py34-dj15] | ||
basepython = python3.4 | ||
deps = -r{toxinidir}/requirements/django-1.5.x.pip | ||
|
||
; -- python 3.3 --------------------------------------------------------------- | ||
|
||
[testenv:py33-dj] | ||
basepython = python3.3 | ||
commands = python -W error {envbindir}/coverage run setup.py test [] | ||
deps = -r{toxinidir}/requirements/django-dev.pip | ||
|
||
[testenv:py33-dj18] | ||
basepython = python3.3 | ||
deps = -r{toxinidir}/requirements/django-1.8.x.pip | ||
|
||
[testenv:py33-dj17] | ||
basepython = python3.3 | ||
deps = -r{toxinidir}/requirements/django-1.7.x.pip | ||
|
||
[testenv:py33-dj16] | ||
basepython = python3.3 | ||
deps = -r{toxinidir}/requirements/django-1.6.x.pip | ||
|
||
[testenv:py33-dj15] | ||
basepython = python3.3 | ||
deps = -r{toxinidir}/requirements/django-1.5.x.pip | ||
|
||
; -- python 2.7 --------------------------------------------------------------- | ||
|
||
[testenv:py27-dj] | ||
basepython = python2.7 | ||
commands = python -W error {envbindir}/coverage run setup.py test [] | ||
deps = -r{toxinidir}/requirements/django-dev.pip | ||
|
||
[testenv:py27-dj18] | ||
basepython = python2.7 | ||
deps = -r{toxinidir}/requirements/django-1.8.x.pip | ||
|
||
[testenv:py27-dj17] | ||
basepython = python2.7 | ||
deps = -r{toxinidir}/requirements/django-1.7.x.pip | ||
|
||
[testenv:py27-dj16] | ||
basepython = python2.7 | ||
deps = -r{toxinidir}/requirements/django-1.6.x.pip | ||
|
||
[testenv:py27-dj15] | ||
basepython = python2.7 | ||
deps = -r{toxinidir}/requirements/django-1.5.x.pip | ||
|
||
[testenv:py27-dj14] | ||
basepython = python2.7 | ||
deps = -r{toxinidir}/requirements/django-1.4.x.pip | ||
|
||
[testenv:py27-dj13] | ||
basepython = python2.7 | ||
deps = -r{toxinidir}/requirements/django-1.3.x.pip |