Commit d2537e51 by Tom Christie
parents 5f580cad 2444e6a7
...@@ -20,6 +20,16 @@ env: ...@@ -20,6 +20,16 @@ env:
- TOX_ENV=py2.6-django1.5 - TOX_ENV=py2.6-django1.5
- TOX_ENV=py2.7-django1.4 - TOX_ENV=py2.7-django1.4
- TOX_ENV=py2.6-django1.4 - TOX_ENV=py2.6-django1.4
- TOX_ENV=py3.4-djangomaster
- TOX_ENV=py3.3-djangomaster
- TOX_ENV=py2.7-djangomaster
matrix:
fast_finish: true
allow_failures:
- env: TOX_ENV=py3.4-djangomaster
- env: TOX_ENV=py3.3-djangomaster
- env: TOX_ENV=py2.7-djangomaster
install: install:
- "pip install tox --download-cache $HOME/.pip-cache" - "pip install tox --download-cache $HOME/.pip-cache"
......
...@@ -71,31 +71,31 @@ To run the tests, clone the repository, and then: ...@@ -71,31 +71,31 @@ To run the tests, clone the repository, and then:
Run using a more concise output style. Run using a more concise output style.
./runtests -q ./runtests.py -q
Run the tests using a more concise output style, no coverage, no flake8. Run the tests using a more concise output style, no coverage, no flake8.
./runtests --fast ./runtests.py --fast
Don't run the flake8 code linting. Don't run the flake8 code linting.
./runtests --nolint ./runtests.py --nolint
Only run the flake8 code linting, don't run the tests. Only run the flake8 code linting, don't run the tests.
./runtests --lintonly ./runtests.py --lintonly
Run the tests for a given test case. Run the tests for a given test case.
./runtests MyTestCase ./runtests.py MyTestCase
Run the tests for a given test method. Run the tests for a given test method.
./runtests MyTestCase.test_this_method ./runtests.py MyTestCase.test_this_method
Shorter form to run the tests for a given test method. Shorter form to run the tests for a given test method.
./runtests test_this_method ./runtests.py test_this_method
Note: The test case and test method matching is fuzzy and will sometimes run other tests that contain a partial string match to the given command line input. Note: The test case and test method matching is fuzzy and will sometimes run other tests that contain a partial string match to the given command line input.
......
...@@ -5,7 +5,8 @@ envlist = ...@@ -5,7 +5,8 @@ envlist =
py3.4-django1.7,py3.3-django1.7,py3.2-django1.7,py2.7-django1.7, py3.4-django1.7,py3.3-django1.7,py3.2-django1.7,py2.7-django1.7,
py3.4-django1.6,py3.3-django1.6,py3.2-django1.6,py2.7-django1.6,py2.6-django1.6, py3.4-django1.6,py3.3-django1.6,py3.2-django1.6,py2.7-django1.6,py2.6-django1.6,
py3.4-django1.5,py3.3-django1.5,py3.2-django1.5,py2.7-django1.5,py2.6-django1.5, py3.4-django1.5,py3.3-django1.5,py3.2-django1.5,py2.7-django1.5,py2.6-django1.5,
py2.7-django1.4,py2.6-django1.4 py2.7-django1.4,py2.6-django1.4,
py3.4-djangomaster,py3.3-djangomaster,py2.7-djangomaster
[testenv] [testenv]
commands = ./runtests.py --fast commands = ./runtests.py --fast
...@@ -157,3 +158,24 @@ deps = django==1.4.11 ...@@ -157,3 +158,24 @@ deps = django==1.4.11
django-oauth2-provider==0.2.3 django-oauth2-provider==0.2.3
django-guardian==1.2.3 django-guardian==1.2.3
pytest-django==2.6.1 pytest-django==2.6.1
[testenv:py3.4-djangomaster]
basepython = python3.4
deps = https://github.com/django/django/zipball/master
django-filter==0.7
defusedxml==0.3
pytest-django==2.6.1
[testenv:py3.3-djangomaster]
basepython = python3.3
deps = https://github.com/django/django/zipball/master
django-filter==0.7
defusedxml==0.3
pytest-django==2.6.1
[testenv:py2.7-djangomaster]
basepython = python3.2
deps = https://github.com/django/django/zipball/master
django-filter==0.7
defusedxml==0.3
pytest-django==2.6.1
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment