Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -61,3 +61,6 @@ target/
.sqlite3
update.txt
.pypirc
.idea/
.python-version
.venv/
14 changes: 9 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,16 @@ python:
- "3.4"
- "3.5"
- "3.6"
- "3.7"

env:
matrix:
- DJANGO=Django==1.10.6
- DJANGO=Django==1.9.12
- DJANGO=Django==1.8.17
- DJANGO=Django==2.1.2
- DJANGO=Django==2.0.9
- DJANGO=Django==1.11.16
- DJANGO=Django==1.10.8
- DJANGO=Django==1.9.13
- DJANGO=Django==1.8.19
- DJANGO=Django==1.7.11
- DJANGO=Django==1.6.11

Expand All @@ -30,9 +34,9 @@ matrix:
- python: "3.5"
env: DJANGO=Django==1.6.11
- python: "3.3"
env: DJANGO=Django==1.10.6
env: DJANGO=Django==1.10.8
- python: "3.3"
env: DJANGO=Django==1.9.12
env: DJANGO=Django==1.9.13

script:
- flake8 --max-line-length=100 --max-complexity=10 --statistics --benchmark django_slowtests
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Welcome!

Welcome to the documentation for django-slowtests!

*Code tested on Django 1.6, 1.7, 1.8, 1.9, and 1.10 with Python 2.7 and 3.6.*
*Code tested on Django 1.6, 1.7, 1.8, 1.9, 1.11, 2.0 and 2.1 with Python 2.7 and 3.6.*


Instructions
Expand Down
13 changes: 5 additions & 8 deletions django_slowtests/tests/urls.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
try:
from django.conf.urls import patterns
except ImportError:
from django.conf.urls.defaults import patterns
from django.conf.urls import url
from django.views.generic import TemplateView


urlpatterns = patterns(
"",
)
urlpatterns = [
url('', TemplateView.as_view()),
]
2 changes: 1 addition & 1 deletion runtests.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
},
SITE_ID=1,
ROOT_URLCONF="django_slowtests.tests.urls",
SECRET_KEY="notasecret",
SECRET_KEY="not-a-secret",
)


Expand Down
7 changes: 5 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py{27}-dj1.{6,7,8,9,10}, py{36}-dj1.{8,9,10}
envlist = py{27}-dj{1.6,1.7,1.8,1.9,1.10,1.11}, py{36}-dj{1.8,1.9,1.10,1.11, 2.0, 2.1}

[testenv]
deps =
Expand All @@ -9,5 +9,8 @@ deps =
dj1.8: Django>=1.8,<1.9
dj1.9: Django>=1.9,<1.10
dj1.10: Django>=1.10,<1.11
dj1.11: Django>=1.11,<2
dj2.0: Django>=2<2.1
freezegun>=0.1.8
commands = coverage run setup.py test
commands =
coverage run setup.py test