-
-
Notifications
You must be signed in to change notification settings - Fork 337
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #47 from brmc/tox
Tox integration added
- Loading branch information
Showing
47 changed files
with
104 additions
and
61 deletions.
There are no files selected for viewing
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,19 +1,12 @@ | ||
language: python | ||
python: | ||
- "2.7" | ||
- "3.3" | ||
- "3.4" | ||
install: | ||
- pip install tox | ||
script: | ||
- tox | ||
env: | ||
- DJANGO_VERSION=1.5 | ||
- DJANGO_VERSION=1.6 | ||
|
||
|
||
install: | ||
- pip install -q Django==$DJANGO_VERSION | ||
- pip install -r requirements.txt | ||
|
||
script: | ||
- cp -r silk django_silky/silk | ||
- cd django_silky | ||
- ./manage.py test silk | ||
|
||
- TOXENV=py27 | ||
- TOXENV=py33 | ||
- TOXENV=py34 | ||
- TOXENV=django15 | ||
- TOXENV=django16 | ||
- TOXENV=django17 |
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
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,4 +1,4 @@ | ||
Django>=1.5, | ||
Django==1.6.8 | ||
Pygments==1.6 | ||
six==1.6.0 | ||
simplejson==3.1.2 | ||
|
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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
from .tests.test_code_gen_curl import * | ||
from .tests.test_collector import * | ||
from .tests.test_dynamic_profiling import * | ||
from .tests.test_execute_sql import * | ||
from .tests.test_silky_middleware import * | ||
from .tests.test_silky_profiler import * | ||
from .tests.test_view_profiling import * | ||
from .tests.test_view_requests import * | ||
from .tests.test_end_points import * | ||
from .tests.test_config_auth import * | ||
from .tests.test_config_max_body_size import * | ||
from .tests.test_config_meta import * | ||
from .tests.test_view_sql_detail import * | ||
from .tests.test_filters import * | ||
from .tests.test_encoding import * |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
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
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
../silk |
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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
Pygments==1.6 | ||
six==1.6.0 | ||
simplejson==3.1.2 | ||
python-dateutil==2.2 | ||
requests==2.2.1 | ||
sqlparse==0.1.11 | ||
Jinja2==2.7.2 | ||
autopep8==1.0.2 | ||
pytz>2014.2 | ||
mock==1.0.1 | ||
Pillow==2.5.1 | ||
South==1.0 |
File renamed without changes.
File renamed without changes.
File renamed without changes.
Empty file.
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
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
File renamed without changes.
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
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
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
File renamed without changes.
File renamed without changes.
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
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
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
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
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
2 changes: 1 addition & 1 deletion
2
silk/tests/test_view_summary_view.py → tests/tests/test_view_summary_view.py
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
File renamed without changes.
File renamed without changes.
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
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 |
---|---|---|
@@ -0,0 +1,26 @@ | ||
[tox] | ||
envlist = django15, django16, django17, py27, py33, py34 | ||
|
||
[testenv] | ||
commands = {toxinidir}/tests/manage.py test | ||
setenv = | ||
DJANGO_SETTINGS_MODULE=settings | ||
PYTHONPATH={toxinidir}/tests | ||
|
||
deps = | ||
-r{toxinidir}/tests/test-requirements.txt | ||
|
||
[testenv:django15] | ||
deps = | ||
django==1.5.11 | ||
-r{toxinidir}/tests/test-requirements.txt | ||
|
||
[testenv:django16] | ||
deps = | ||
django==1.6.8 | ||
-r{toxinidir}/tests/test-requirements.txt | ||
|
||
[testenv:django17] | ||
deps = | ||
-r{toxinidir}/tests/test-requirements.txt | ||
django>=1.7 |