Commit fc68a13ddf44cc25c2734fe9ff8e70788c8f7cfb
Committed by
Claude Paroz
1 parent
e3bab8dc
Added testing for Python 3.5; removed 3.3
Showing
4 changed files
with
29 additions
and
63 deletions
| 1 | language: python | 1 | language: python |
| 2 | -python: | ||
| 3 | - - "2.7" | ||
| 4 | - - "3.3" | ||
| 5 | - - "3.4" | ||
| 6 | env: | 2 | env: |
| 7 | - - DJANGO="Django>=1.8,<1.9" | ||
| 8 | - - DJANGO="Django>=1.9,<1.10" | ||
| 9 | - - DJANGO="Django>=1.10,<1.11" | ||
| 10 | - - DJANGO=https://github.com/django/django/archive/master.tar.gz | ||
| 11 | - | ||
| 12 | -matrix: | ||
| 13 | - exclude: | ||
| 14 | - - python: "3.3" | ||
| 15 | - env: DJANGO="Django>=1.9,<1.10" | ||
| 16 | - - python: "3.3" | ||
| 17 | - env: DJANGO="Django>=1.10,<1.11" | ||
| 18 | - - python: "3.3" | ||
| 19 | - env: DJANGO=https://github.com/django/django/archive/master.tar.gz | ||
| 20 | - allow_failures: | ||
| 21 | - - python: "2.7" | ||
| 22 | - env: DJANGO=https://github.com/django/django/archive/master.tar.gz | ||
| 23 | - - python: "3.4" | ||
| 24 | - env: DJANGO=https://github.com/django/django/archive/master.tar.gz | ||
| 25 | - | 3 | +- TOXENV=py27-django18 |
| 4 | +- TOXENV=py34-django18 | ||
| 5 | +- TOXENV=py35-django18 | ||
| 6 | +- TOXENV=py27-django19 | ||
| 7 | +- TOXENV=py34-django19 | ||
| 8 | +- TOXENV=py35-django19 | ||
| 9 | +- TOXENV=py27-django110 | ||
| 10 | +- TOXENV=py34-django110 | ||
| 11 | +- TOXENV=py35-django110 | ||
| 12 | +- TOXENV=py27-django-master | ||
| 13 | +- TOXENV=py34-django-master | ||
| 14 | +- TOXENV=py35-django-master | ||
| 26 | install: | 15 | install: |
| 27 | - - pip install --pre $DJANGO | ||
| 28 | -script: python setup.py test | 16 | +- pip install tox |
| 17 | +script: | ||
| 18 | +- tox |
| @@ -9,7 +9,8 @@ Pending | @@ -9,7 +9,8 @@ Pending | ||
| 9 | * Fixed a packaging error which caused sub-packages of the tests to be | 9 | * Fixed a packaging error which caused sub-packages of the tests to be |
| 10 | distributed. | 10 | distributed. |
| 11 | * Use ``get_current_site`` to look up the site instead of ``settings.SITE_ID``. | 11 | * Use ``get_current_site`` to look up the site instead of ``settings.SITE_ID``. |
| 12 | -* Dropped Django 1.7 and Python 3.2 support. | 12 | +* Dropped Django 1.7 and Python 3.2/3.3 support. |
| 13 | +* Added testing for Python 3.5. | ||
| 13 | 14 | ||
| 14 | 1.7.3 (2016-09-13) | 15 | 1.7.3 (2016-09-13) |
| 15 | ------------------ | 16 | ------------------ |
| @@ -33,8 +33,8 @@ setup( | @@ -33,8 +33,8 @@ setup( | ||
| 33 | 'Programming Language :: Python', | 33 | 'Programming Language :: Python', |
| 34 | 'Programming Language :: Python :: 2.7', | 34 | 'Programming Language :: Python :: 2.7', |
| 35 | 'Programming Language :: Python :: 3', | 35 | 'Programming Language :: Python :: 3', |
| 36 | - 'Programming Language :: Python :: 3.3', | ||
| 37 | 'Programming Language :: Python :: 3.4', | 36 | 'Programming Language :: Python :: 3.4', |
| 37 | + 'Programming Language :: Python :: 3.5', | ||
| 38 | ], | 38 | ], |
| 39 | packages=find_packages(exclude=['tests', 'tests.*']), | 39 | packages=find_packages(exclude=['tests', 'tests.*']), |
| 40 | include_package_data=True, | 40 | include_package_data=True, |
| 1 | [tox] | 1 | [tox] |
| 2 | envlist = | 2 | envlist = |
| 3 | - py27-django18, py33-django18, | ||
| 4 | - py27-django19, py34-django19, | ||
| 5 | - py27-django110, py34-django110, | ||
| 6 | - py27-master, py34-master | 3 | + py{27,34,35}-django1{8,9,10} |
| 4 | + py{27,34,35}-master | ||
| 7 | 5 | ||
| 8 | [testenv] | 6 | [testenv] |
| 7 | +basepython = | ||
| 8 | + py27: python2.7 | ||
| 9 | + py34: python3.4 | ||
| 10 | + py35: python3.5 | ||
| 9 | commands = {envpython} setup.py test | 11 | commands = {envpython} setup.py test |
| 10 | setenv= | 12 | setenv= |
| 11 | PYTHONWARNINGS=default | 13 | PYTHONWARNINGS=default |
| 12 | - | ||
| 13 | -[testenv:py27-django18] | ||
| 14 | -basepython = python2.7 | ||
| 15 | -deps = Django>=1.8,<1.9 | ||
| 16 | - | ||
| 17 | -[testenv:py33-django18] | ||
| 18 | -basepython = python3.3 | ||
| 19 | -deps = Django>=1.8,<1.9 | ||
| 20 | - | ||
| 21 | -[testenv:py27-django19] | ||
| 22 | -basepython = python2.7 | ||
| 23 | -deps = Django>=1.9,<1.10 | ||
| 24 | - | ||
| 25 | -[testenv:py34-django19] | ||
| 26 | -basepython = python3.4 | ||
| 27 | -deps = Django>=1.9,<1.10 | ||
| 28 | - | ||
| 29 | -[testenv:py27-django110] | ||
| 30 | -basepython = python2.7 | ||
| 31 | -deps = Django>=1.10,<1.11 | ||
| 32 | - | ||
| 33 | -[testenv:py34-django110] | ||
| 34 | -basepython = python3.4 | ||
| 35 | -deps = Django>=1.10,<1.11 | ||
| 36 | - | ||
| 37 | -[testenv:py27-master] | ||
| 38 | -basepython = python2.7 | ||
| 39 | -deps = https://github.com/django/django/archive/master.tar.gz | ||
| 40 | - | ||
| 41 | -[testenv:py34-master] | ||
| 42 | -basepython = python3.4 | ||
| 43 | -deps = https://github.com/django/django/archive/master.tar.gz | 14 | +deps= |
| 15 | + django-18: Django>=1.8,<1.9 | ||
| 16 | + django-19: Django>=1.9a1,<1.10 | ||
| 17 | + django-110: Django>=1.10a1,<1.11 | ||
| 18 | + django-master: https://github.com/django/django/archive/master.tar.gz |
Please
register
or
login
to post a comment