Skip to content

Commit

Permalink
Merge pull request #143 from cmltaWt0/cmltaWt0/django32-test
Browse files Browse the repository at this point in the history
ci: update tox.ini and travis.yml to test Django3.1/3.2
  • Loading branch information
paulocheque committed Sep 30, 2021
2 parents 3ea4af7 + 484e3ae commit 84f294a
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,18 @@ matrix:
- DATABASE=postgres
- JSONFIELD=3.1.0
- POLYMORPHIC=3.0.0
- python: 3.8
env:
- DJANGO=3.1
- DATABASE=postgres
- JSONFIELD=3.1.0
- POLYMORPHIC=3.0.0
- python: 3.8
env:
- DJANGO=3.2
- DATABASE=postgres
- JSONFIELD=3.1.0
- POLYMORPHIC=3.0.0

before_script:
- export PYTHONPATH=$PYTHONPATH:$(pwd)
Expand Down
4 changes: 4 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ envlist =
django{20}-py{37},
django{30}-py{37},
django{30}-py{38},
django{31}-py{38},
django{32}-py{38},

[testenv]
passenv = PYTEST_ADDOPTS TERM
Expand All @@ -23,5 +25,7 @@ deps =
django111: django>=1.11,<2.0
django20: django>=2.0,<2.1
django30: django>=3.0,<3.1
django31: django>=3.1,<3.2
django32: django>=3.2,<3.3

commands = env/bin/pytest -n 3 --create-db --reuse-db --no-migrations

0 comments on commit 84f294a

Please sign in to comment.