From 48b105481030d55e14fa16ed797e7aae853e76a3 Mon Sep 17 00:00:00 2001 From: jeffrey forman Date: Wed, 13 Feb 2019 20:32:25 -0500 Subject: [PATCH] travisCI to python3.6 and add makemigrations call in dockerfile --- .travis.yml | 2 +- Dockerfile | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 59d8b88..90b23f1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,6 @@ language: python python: - - "3.7" + - "3.6" env: - DJANGO="Django>=2" install: diff --git a/Dockerfile b/Dockerfile index ead9a7a..88fa6a2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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"]