travisCI to python3.6 and add makemigrations call in dockerfile

This commit is contained in:
jeffrey forman 2019-02-13 20:32:25 -05:00
parent 77b49c11b6
commit 48b1054810
2 changed files with 2 additions and 1 deletions

View File

@ -1,6 +1,6 @@
language: python
python:
- "3.7"
- "3.6"
env:
- DJANGO="Django>=2"
install:

View File

@ -11,6 +11,7 @@ RUN apk add --no-cache nsd build-base python3-dev libffi-dev openssl-dev libc-de
EXPOSE 8000
RUN ["python", "manage.py", "makemigrations", "binder"]
RUN ["python", "manage.py", "migrate"]
RUN ["python", "manage.py", "loaddata", "binder/fixtures/initial_data.json"]