This repository has been archived by the owner on Oct 1, 2022. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Test agains recent Django/Python versions
- Loading branch information
Showing
3 changed files
with
38 additions
and
50 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,20 @@ | ||
# Config file for automatic testing at travis-ci.org | ||
|
||
language: python | ||
|
||
install: pip install tox | ||
|
||
script: | ||
- tox | ||
|
||
python: | ||
- 2.7 | ||
- 3.4 | ||
env: | ||
- TOXENV=py26-dj14 | ||
- TOXENV=py26-dj15 | ||
- TOXENV=py27-dj16 | ||
- TOXENV=py33-dj16 | ||
- TOXENV=py27-dj17 | ||
- TOXENV=py33-dj17 | ||
- TOXENV=flake8 | ||
- TOXENV=coverage | ||
- DJANGO_VERSION='>=1.7,<1.8' | ||
- DJANGO_VERSION='>=1.8,<1.9' | ||
- DJANGO_VERSION='>=1.9rc2,<1.10 --pre' | ||
install: | ||
- pip install Django $DJANGO_VERSION | ||
- pip install -q -e . | ||
- pip install -q -r test-requirements.txt | ||
script: | ||
- coverage run --source smuggler --branch manage.py test | ||
after_success: | ||
- coveralls | ||
branches: | ||
only: | ||
- master |
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,54 +1,42 @@ | ||
[tox] | ||
envlist = py26-dj14, py26-dj15, | ||
py27-dj16, py33-dj16, | ||
py27-dj17, py33-dj17 | ||
envlist = py27-dj17, py34-dj17 | ||
py27-dj18, py34-dj18 | ||
py27-dj19, py34-dj19 | ||
|
||
[testenv] | ||
commands = python manage.py test | ||
deps = freezegun | ||
|
||
[testenv:py26-dj14] | ||
commands = python manage.py test test_app | ||
basepython = python2.6 | ||
deps = django>=1.4,<1.5 | ||
[testenv:py27-dj17] | ||
basepython = python2.7 | ||
deps = Django>=1.7,<1.8 | ||
{[testenv]deps} | ||
|
||
[testenv:py26-dj15] | ||
commands = python manage.py test test_app | ||
basepython = python2.6 | ||
deps = django>=1.5,<1.6 | ||
[testenv:py34-dj17] | ||
basepython = python3.4 | ||
deps = Django>=1.7,<1.8 | ||
{[testenv]deps} | ||
|
||
[testenv:py27-dj16] | ||
[testenv:py27-dj18] | ||
basepython = python2.7 | ||
deps = django>=1.6,<1.7 | ||
deps = Django>=1.8,<1.9 | ||
{[testenv]deps} | ||
|
||
[testenv:py33-dj16] | ||
basepython = python3.3 | ||
deps = django>=1.6,<1.7 | ||
[testenv:py34-dj18] | ||
basepython = python3.4 | ||
deps = Django>=1.8,<1.9 | ||
{[testenv]deps} | ||
|
||
[testenv:py27-dj17] | ||
[testenv:py27-dj19] | ||
basepython = python2.7 | ||
deps = https://github.com/django/django/tarball/stable/1.7.x | ||
{[testenv]deps} | ||
deps = Django>=1.9rc2,<1.10 | ||
{[testenv]deps} | ||
|
||
[testenv:py33-dj17] | ||
basepython = python3.3 | ||
deps = https://github.com/django/django/tarball/stable/1.7.x | ||
{[testenv]deps} | ||
[testenv:py34-dj19] | ||
basepython = python3.4 | ||
deps = Django>=1.9rc2,<1.10 | ||
{[testenv]deps} | ||
|
||
[testenv:flake8] | ||
commands = flake8 smuggler tests | ||
deps = flake8 | ||
|
||
[testenv:coverage] | ||
usedevelop = true | ||
commands = | ||
coverage run --source smuggler --branch manage.py test | ||
coveralls | ||
deps = | ||
coverage | ||
coveralls | ||
{[testenv:py26-dj14]deps} |