FAQ | This is a LIVE service | Changelog

Skip to content
Snippets Groups Projects
Commit d6058b50 authored by Dr Abraham Martin's avatar Dr Abraham Martin
Browse files

Merge branch 'admin-211-use-python3.7' into 'master'

Use python3.7 as 3.6 image will stop being built nightly and will therefore go stale.

See merge request !27
parents 354ecd5d ba606e94
No related branches found
No related tags found
1 merge request!27Use python3.7 as 3.6 image will stop being built nightly and will therefore go stale.
Pipeline #68754 passed with warnings
# The docker image built from this Dockerfile is intended only to run the test
# suite and to build the documentation. Installation of this project should be
# performed via pip.
FROM registry.gitlab.developers.cam.ac.uk/uis/devops/infra/dockerimages/python:3.6-alpine
FROM registry.gitlab.developers.cam.ac.uk/uis/devops/infra/dockerimages/python:3.7-alpine
ADD ./ /usr/src/app/
WORKDIR /usr/src/app
RUN pip install tox && pip install -e .
[tox]
envlist=flake8,doc,py36
envlist=flake8,doc,py37
# The "_vars" section is ignored by tox but we place some useful shared
# variables in it to avoid needless repetition.
......@@ -29,7 +29,7 @@ commands=
# Build documentation
[testenv:doc]
basepython=python3.6
basepython=python3.7
deps=
-rdoc/requirements.txt
commands=
......@@ -38,7 +38,7 @@ commands=
# Check for PEP8 violations
[testenv:flake8]
basepython=python3.6
basepython=python3.7
deps=
# We specify a specific version of flake8 to avoid introducing "false"
# regressions when new checks are introduced. The version of flake8 used may
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment