Skip to content

Commit 2c7170e

Browse files
authored
feat(deps): Add Django 3.1 support (#109)
Pretty basic, looks like no code changes needed. https://docs.djangoproject.com/en/3.1/releases/3.1/
1 parent 68519d4 commit 2c7170e

File tree

3 files changed

+15
-3
lines changed

3 files changed

+15
-3
lines changed

Diff for: .travis.yml

+9
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,15 @@ jobs:
5454
- stage: test
5555
python: 3.8
5656
env: TOX_ENV=django30-py38
57+
- stage: test
58+
python: 3.6
59+
env: TOX_ENV=django31-py36
60+
- stage: test
61+
python: 3.7
62+
env: TOX_ENV=django31-py37
63+
- stage: test
64+
python: 3.8
65+
env: TOX_ENV=django31-py38
5766
- stage: lint
5867
install: pip install black
5968
script: black --check .

Diff for: Makefile

+4-3
Original file line numberDiff line numberDiff line change
@@ -53,18 +53,19 @@ resetdb: ## Delete and then recreate the dev sqlite database
5353
python $(MANAGE) loaddata sample_data
5454

5555
docker/build: ## Build a full set of Docker images
56-
docker/build: docker/build/3.0 docker/build/2.2.6 docker/build/2.1.13 docker/build/2.0.13 docker/build/1.11.25 docker/build/1.10.8 docker/build/1.9.13 docker/build/1.8.18
56+
docker/build: docker/build/3.1 docker/build/3.0 docker/build/2.2.6 docker/build/2.1.13 docker/build/2.0.13 docker/build/1.11.25 docker/build/1.10.8 docker/build/1.9.13 docker/build/1.8.18
5757

5858
docker/build/%:
5959
docker build --build-arg DJANGO_VERSION=$* \
6060
-t $(IMAGE):$$(echo "$*" | cut -f 1-2 -d.) .
6161

62-
run: run/3.0
62+
run: run/3.1
6363

6464
run/%:
6565
docker run --rm -p 8000:8000 -it $(IMAGE):$*
6666

6767
docker/publish: ## Publish Docker images to the hub
68+
docker push $(IMAGE):3.1
6869
docker push $(IMAGE):3.0
6970
docker push $(IMAGE):2.2
7071
docker push $(IMAGE):2.1
@@ -78,7 +79,7 @@ test/%:
7879
docker run --rm -p 8000:8000 -t $(IMAGE):$* make test
7980

8081
bash:
81-
docker run --rm -it $(IMAGE):3.0 /bin/sh
82+
docker run --rm -it $(IMAGE):3.1 /bin/sh
8283

8384
.PHONY: version
8485
version:

Diff for: tox.ini

+2
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ envlist =
1010
django21-{py35,py36,py37},
1111
django22-{py36,py37},
1212
django30-{py36,py37,py38},
13+
django31-{py36,py37,py38},
1314
# run one of the tests again but with coverage
1415
coveralls-django21-py37,
1516
skipsdist = True
@@ -29,6 +30,7 @@ deps =
2930
django21: Django<2.2
3031
django22: Django<2.3
3132
django30: Django<3.1
33+
django31: Django<3.2
3234

3335
[testenv:coveralls-django21-py37]
3436
commands =

0 commit comments

Comments
 (0)