Skip to content

Commit

Permalink
Merge pull request #22 from dstegelman/feature/django_18
Browse files Browse the repository at this point in the history
Django 1.8
  • Loading branch information
dstegelman committed Apr 4, 2015
2 parents b81b634 + eb9b2c0 commit 793c92d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ env:
- DJANGO_VERSION=Django==1.5
- DJANGO_VERSION=Django==1.6
- DJANGO_VERSION=Django==1.7
- DJANGO_VERSION=Django==1.8

# command to install dependencies
install:
Expand Down
8 changes: 6 additions & 2 deletions runtests.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,13 @@
django.setup()
except AttributeError:
pass
try:
from django.test.simple import DjangoTestSuiteRunner
test_runner = DjangoTestSuiteRunner(verbosity=1)
except ImportError:
from django.test.runner import DiscoverRunner
test_runner = DiscoverRunner(verbosity=1)

from django.test.simple import DjangoTestSuiteRunner
test_runner = DjangoTestSuiteRunner(verbosity=1)
failures = test_runner.run_tests(['downtime', ])
if failures:
sys.exit(failures)

0 comments on commit 793c92d

Please sign in to comment.