Skip to content

Commit d2537e5

Browse files
committed
2 parents 5f580ca + 2444e6a commit d2537e5

File tree

3 files changed

+40
-8
lines changed

3 files changed

+40
-8
lines changed

.travis.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,16 @@ env:
2020
- TOX_ENV=py2.6-django1.5
2121
- TOX_ENV=py2.7-django1.4
2222
- TOX_ENV=py2.6-django1.4
23+
- TOX_ENV=py3.4-djangomaster
24+
- TOX_ENV=py3.3-djangomaster
25+
- TOX_ENV=py2.7-djangomaster
26+
27+
matrix:
28+
fast_finish: true
29+
allow_failures:
30+
- env: TOX_ENV=py3.4-djangomaster
31+
- env: TOX_ENV=py3.3-djangomaster
32+
- env: TOX_ENV=py2.7-djangomaster
2333

2434
install:
2535
- "pip install tox --download-cache $HOME/.pip-cache"

docs/topics/contributing.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -71,31 +71,31 @@ To run the tests, clone the repository, and then:
7171

7272
Run using a more concise output style.
7373

74-
./runtests -q
74+
./runtests.py -q
7575

7676
Run the tests using a more concise output style, no coverage, no flake8.
7777

78-
./runtests --fast
78+
./runtests.py --fast
7979

8080
Don't run the flake8 code linting.
8181

82-
./runtests --nolint
82+
./runtests.py --nolint
8383

8484
Only run the flake8 code linting, don't run the tests.
8585

86-
./runtests --lintonly
86+
./runtests.py --lintonly
8787

8888
Run the tests for a given test case.
8989

90-
./runtests MyTestCase
90+
./runtests.py MyTestCase
9191

9292
Run the tests for a given test method.
9393

94-
./runtests MyTestCase.test_this_method
94+
./runtests.py MyTestCase.test_this_method
9595

9696
Shorter form to run the tests for a given test method.
9797

98-
./runtests test_this_method
98+
./runtests.py test_this_method
9999

100100
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.
101101

tox.ini

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ envlist =
55
py3.4-django1.7,py3.3-django1.7,py3.2-django1.7,py2.7-django1.7,
66
py3.4-django1.6,py3.3-django1.6,py3.2-django1.6,py2.7-django1.6,py2.6-django1.6,
77
py3.4-django1.5,py3.3-django1.5,py3.2-django1.5,py2.7-django1.5,py2.6-django1.5,
8-
py2.7-django1.4,py2.6-django1.4
8+
py2.7-django1.4,py2.6-django1.4,
9+
py3.4-djangomaster,py3.3-djangomaster,py2.7-djangomaster
910

1011
[testenv]
1112
commands = ./runtests.py --fast
@@ -157,3 +158,24 @@ deps = django==1.4.11
157158
django-oauth2-provider==0.2.3
158159
django-guardian==1.2.3
159160
pytest-django==2.6.1
161+
162+
[testenv:py3.4-djangomaster]
163+
basepython = python3.4
164+
deps = https://github.com/django/django/zipball/master
165+
django-filter==0.7
166+
defusedxml==0.3
167+
pytest-django==2.6.1
168+
169+
[testenv:py3.3-djangomaster]
170+
basepython = python3.3
171+
deps = https://github.com/django/django/zipball/master
172+
django-filter==0.7
173+
defusedxml==0.3
174+
pytest-django==2.6.1
175+
176+
[testenv:py2.7-djangomaster]
177+
basepython = python3.2
178+
deps = https://github.com/django/django/zipball/master
179+
django-filter==0.7
180+
defusedxml==0.3
181+
pytest-django==2.6.1

0 commit comments

Comments
 (0)