Skip to content

Commit 441ebe9

Browse files
committed
Test features depending on line_profiler.
1 parent 3bbbae7 commit 441ebe9

File tree

3 files changed

+11
-1
lines changed

3 files changed

+11
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@ matrix:
1616
env: DJANGO_VERSION=1.4.10
1717
install:
1818
- pip install -e .
19-
- pip install Django==$DJANGO_VERSION sqlparse
19+
- pip install Django==$DJANGO_VERSION line_profiler sqlparse
2020
script: make test

requirements_dev.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@
77
Django
88
sqlparse
99

10+
# Optional runtime dependencies
11+
12+
line_profiler
13+
1014
# Testing
1115

1216
coverage

tox.ini

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,24 +25,28 @@ whitelist_externals = make
2525
basepython = python2.6
2626
deps =
2727
Django>=1.4,<1.5
28+
line_profiler
2829
{[testenv]deps}
2930

3031
[testenv:py27-django14]
3132
basepython = python2.7
3233
deps =
3334
Django>=1.4,<1.5
35+
line_profiler
3436
{[testenv]deps}
3537

3638
[testenv:py26-django15]
3739
basepython = python2.6
3840
deps =
3941
Django>=1.5,<1.6
42+
line_profiler
4043
{[testenv]deps}
4144

4245
[testenv:py27-django15]
4346
basepython = python2.7
4447
deps =
4548
Django>=1.5,<1.6
49+
line_profiler
4650
{[testenv]deps}
4751

4852
[testenv:py32-django15]
@@ -61,12 +65,14 @@ deps =
6165
basepython = python2.6
6266
deps =
6367
Django>=1.6,<1.7
68+
line_profiler
6469
{[testenv]deps}
6570

6671
[testenv:py27-django16]
6772
basepython = python2.7
6873
deps =
6974
Django>=1.6,<1.7
75+
line_profiler
7076
{[testenv]deps}
7177

7278
[testenv:py32-django16]

0 commit comments

Comments
 (0)