mirror of
https://github.com/jazzband/django-admin2.git
synced 2026-04-08 17:01:04 +00:00
commit
7032e19e2e
2 changed files with 99 additions and 8 deletions
28
.travis.yml
28
.travis.yml
|
|
@ -1,11 +1,23 @@
|
|||
language: python
|
||||
python:
|
||||
- "2.7"
|
||||
python: "2.7"
|
||||
env:
|
||||
matrix:
|
||||
- TOX_ENV=py27-dj1.4.x
|
||||
- TOX_ENV=py27-dj1.5.x
|
||||
- TOX_ENV=py27-dj1.6.x
|
||||
- TOX_ENV=py27-dj1.7.x
|
||||
- TOX_ENV=py33-dj1.6.x
|
||||
- TOX_ENV=py34-dj1.6.x
|
||||
- TOX_ENV=py33-dj1.7.x
|
||||
- TOX_ENV=py34-dj1.7.x
|
||||
- TOX_ENV=pypy-dj1.6.x,
|
||||
- TOX_ENV=pypy3-dj1.6.x
|
||||
install:
|
||||
- pip install -r requirements.txt
|
||||
- pip install tox
|
||||
script:
|
||||
- coverage run runtests.py
|
||||
after_success:
|
||||
- coverage report
|
||||
- pip install --quiet python-coveralls
|
||||
- coveralls
|
||||
- tox -e $TOX_ENV
|
||||
#for now commented
|
||||
#after_success:
|
||||
# - coverage report
|
||||
# - pip install --quiet python-coveralls
|
||||
# - coveralls
|
||||
|
|
|
|||
79
tox.ini
Normal file
79
tox.ini
Normal file
|
|
@ -0,0 +1,79 @@
|
|||
[tox]
|
||||
# for py 3.x we are using only django 1.6.x as 1.5.x had only "experimental py3 support"
|
||||
envlist = py27-dj1.4.x, py27-dj1.5.x, py27-dj1.6.x, py27-dj1.7.x,
|
||||
py33-dj1.6.x, py34-dj1.6.x, py33-dj1.7.x, py34-dj1.7.x,
|
||||
pypy-dj1.6.x, pypy3-dj1.6.x,
|
||||
skipsdist = True
|
||||
|
||||
[testenv]
|
||||
commands = python runtests.py
|
||||
deps =
|
||||
django-braces>=1.0.0
|
||||
django-extra-views>=0.6.2
|
||||
djangorestframework>=2.3.3
|
||||
django-floppyforms>=1.1
|
||||
django-filter>=0.6
|
||||
django-crispy-forms>=1.3.2
|
||||
django-debug-toolbar>=0.9.4
|
||||
|
||||
[testenv:py27-dj1.4.x]
|
||||
basepython=python2.7
|
||||
deps =
|
||||
Django>=1.4,<1.5
|
||||
{[testenv]deps}
|
||||
|
||||
[testenv:py27-dj1.5.x]
|
||||
basepython=python2.7
|
||||
deps =
|
||||
Django>=1.5,<1.6
|
||||
{[testenv]deps}
|
||||
|
||||
[testenv:py27-dj1.6.x]
|
||||
commands = coverage run runtests.py
|
||||
basepython=python2.7
|
||||
deps =
|
||||
Django>=1.6,<1.7
|
||||
coverage
|
||||
{[testenv]deps}
|
||||
|
||||
[testenv:py27-dj1.7.x]
|
||||
basepython=python2.7
|
||||
deps =
|
||||
Django>=1.7,<1.8
|
||||
{[testenv]deps}
|
||||
|
||||
[testenv:py33-dj1.6.x]
|
||||
basepython=python3.3
|
||||
deps =
|
||||
Django>=1.6,<1.7
|
||||
{[testenv]deps}
|
||||
|
||||
[testenv:py34-dj1.6.x]
|
||||
basepython=python3.4
|
||||
deps =
|
||||
Django>=1.6,<1.7
|
||||
{[testenv]deps}
|
||||
|
||||
[testenv:py33-dj1.7.x]
|
||||
basepython=python3.3
|
||||
deps =
|
||||
Django>=1.7,<1.8
|
||||
{[testenv]deps}
|
||||
|
||||
[testenv:py34-dj1.7.x]
|
||||
basepython=python3.4
|
||||
deps =
|
||||
Django>=1.7,<1.8
|
||||
{[testenv]deps}
|
||||
|
||||
[testenv:pypy-dj1.6.x]
|
||||
basepython=pypy
|
||||
deps =
|
||||
Django>=1.6,<1.7
|
||||
{[testenv]deps}
|
||||
|
||||
[testenv:pypy3-dj1.6.x]
|
||||
basepython=pypy3
|
||||
deps =
|
||||
Django>=1.6,<1.7
|
||||
{[testenv]deps}
|
||||
Loading…
Reference in a new issue