diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..4732218 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,7 @@ +language: python +python: + - "3.7" + - "3.8" +install: "pip install -r portier/requirements.txt" +script: + - flake8 diff --git a/portier/Dockerfile b/portier/Dockerfile index 839105f..aa4902b 100644 --- a/portier/Dockerfile +++ b/portier/Dockerfile @@ -1 +1,4 @@ -FROM python:3.8 +FROM python:3.8-alpine +WORKDIR /app +ADD . /app +RUN pip install -r requirements.txt diff --git a/portier/requirements.txt b/portier/requirements.txt new file mode 100644 index 0000000..a0410b5 --- /dev/null +++ b/portier/requirements.txt @@ -0,0 +1,2 @@ +django>=3.0 +celery>=4.4 diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 0000000..1e30e03 --- /dev/null +++ b/setup.cfg @@ -0,0 +1,3 @@ +[flake8] +exclude = .git,*migrations* +max-line-length = 120