Created
February 13, 2020 03:40
-
-
Save rohanpm/9c50bbf4bfa384537594702b2393f97a to your computer and use it in GitHub Desktop.
[PATCH] Add Django 1.11 configurations to CI
This file contains hidden or 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
| From e3d4e8b898076400ec6bd27f7fddd9ccb0d1c6df Mon Sep 17 00:00:00 2001 | |
| From: Rohan McGovern <rmcgover@redhat.com> | |
| Date: Thu, 13 Feb 2020 13:39:33 +1000 | |
| Subject: [PATCH] Add Django 1.11 configurations to CI | |
| --- | |
| constraints-django111.txt | 1 + | |
| tox.ini | 5 +++-- | |
| 2 files changed, 4 insertions(+), 2 deletions(-) | |
| create mode 100644 constraints-django111.txt | |
| diff --git a/constraints-django111.txt b/constraints-django111.txt | |
| new file mode 100644 | |
| index 0000000..1f45a73 | |
| --- /dev/null | |
| +++ b/constraints-django111.txt | |
| @@ -0,0 +1 @@ | |
| +Django==1.11.28 | |
| diff --git a/tox.ini b/tox.ini | |
| index 0e71040..4314ead 100644 | |
| --- a/tox.ini | |
| +++ b/tox.ini | |
| @@ -1,5 +1,5 @@ | |
| [tox] | |
| -envlist = {py27,py34,py35,py36,py37}-django18 | |
| +envlist = {py27,py34,py35,py36,py37}-django{18,111} | |
| skip_missing_interpreters = True | |
| [testenv] | |
| @@ -14,12 +14,13 @@ basepython = | |
| deps = | |
| -rtest-requirements.txt | |
| django18: -cconstraints-django18.txt | |
| + django111: -cconstraints-django111.txt | |
| [testenv:py37-cov-travis] | |
| passenv = TRAVIS TRAVIS_* | |
| deps= | |
| -rtest-requirements.txt | |
| - -cconstraints-django18.txt | |
| + -cconstraints-django111.txt | |
| pytest-cov | |
| coveralls | |
| usedevelop=true | |
| -- | |
| 2.24.1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment