Skip to content

Commit

Permalink
Merge 49914cd into 3b9dad7
Browse files Browse the repository at this point in the history
  • Loading branch information
jwhitlock committed Apr 5, 2017
2 parents 3b9dad7 + 49914cd commit 51d6b10
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 6 deletions.
16 changes: 14 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ matrix:
- env: TOXENV=docs
python: "2.7"
# Supported Python / Django versions w/ SQLite
- env: TOXENV=py27-django-111
python: "2.7"
- env: TOXENV=py35-django-111
python: "3.5"
- env: TOXENV=py27-django-110
python: "2.7"
- env: TOXENV=py35-django-110
Expand All @@ -24,9 +28,13 @@ matrix:
- env: TOXENV=py34-django-18
python: "3.4"
# Test with PostgreSQL
- env: TOXENV=py27-django-19-postgres DATABASE_URL="postgres://postgres@localhost:5432/py27-django-110-postgres"
- env: TOXENV=py27-django-111-postgres DATABASE_URL="postgres://postgres@localhost:5432/py27-django-111-postgres"
python: "2.7"
- env: TOXENV=py35-django-111-postgres DATABASE_URL="postgres://postgres@localhost:5432/py35-django-111-postgres"
python: "3.5"
- env: TOXENV=py27-django-110-postgres DATABASE_URL="postgres://postgres@localhost:5432/py27-django-110-postgres"
python: "2.7"
- env: TOXENV=py35-django-19-postgres DATABASE_URL="postgres://postgres@localhost:5432/py35-django-110-postgres"
- env: TOXENV=py35-django-110-postgres DATABASE_URL="postgres://postgres@localhost:5432/py35-django-110-postgres"
python: "3.5"
- env: TOXENV=py27-django-19-postgres DATABASE_URL="postgres://postgres@localhost:5432/py27-django-19-postgres"
python: "2.7"
Expand All @@ -35,6 +43,10 @@ matrix:
- env: TOXENV=py27-django-18-postgres DATABASE_URL="postgres://postgres@localhost:5432/py27-django-18-postgres"
python: "2.7"
# Test with MySQL
- env: TOXENV=py27-django-111-mysql DATABASE_URL="mysql://travis@localhost:3306/py27-django-111-mysql"
python: "2.7"
- env: TOXENV=py35-django-111-mysql DATABASE_URL="mysql://travis@localhost:3306/py35-django-111-mysql"
python: "3.5"
- env: TOXENV=py27-django-110-mysql DATABASE_URL="mysql://travis@localhost:3306/py27-django-110-mysql"
python: "2.7"
- env: TOXENV=py35-django-110-mysql DATABASE_URL="mysql://travis@localhost:3306/py35-django-110-mysql"
Expand Down
4 changes: 4 additions & 0 deletions django_nose/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,10 @@ class BaseRunner(DiscoverRunner):
'--keepdb', '--reverse', '--debug-sql',
# 1.9 arguments
'--parallel',
# 1.10 arguments
'--tag', '--exclude-tag',
# 1.11 arguments
'--debug-mode',
]

#
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#

# Latest Django
Django==1.8.5
Django==1.11

# This project
-e .
Expand Down
7 changes: 4 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tox]
envlist =
py{27,34,35}-django-{18,19,110,master}
py{27,34,35}-django-{18,19,110,111,master}
flake8
docs
skip_missing_interpreters = True
Expand All @@ -16,9 +16,10 @@ deps =
django-18: Django>=1.8,<1.9
django-19: Django>=1.9,<1.10
django-110: Django==1.10,<1.11
django-111: Django==1.11,<1.12
django-master: https://github.com/django/django/archive/master.tar.gz
{py27,py34,py35}-django-{18,19,110,master}-postgres: psycopg2
{py27,py34,py35}-django-{18,19,110,master}-mysql: mysqlclient
postgres: psycopg2
mysql: mysqlclient

[testenv:flake8]
deps =
Expand Down

0 comments on commit 51d6b10

Please sign in to comment.