diff options
author | Ben Sturmfels <ben@sturm.com.au> | 2020-04-28 15:51:41 +1000 |
---|---|---|
committer | Ben Sturmfels <ben@sturm.com.au> | 2020-04-28 18:23:24 +1000 |
commit | 16fbe8524756013713365fc2a656833639c90ec2 (patch) | |
tree | 7f53eb421c557cdf9c02209cb38ab6e924e18d7a /Dockerfile-debian-python2-sqlite | |
parent | e3931333da96fc8f665acc9c8f1673b83c2b1f4b (diff) | |
download | mediagoblin-16fbe8524756013713365fc2a656833639c90ec2.tar.lz mediagoblin-16fbe8524756013713365fc2a656833639c90ec2.tar.xz mediagoblin-16fbe8524756013713365fc2a656833639c90ec2.zip |
Fix dependencies and tests for clean Python 2 & 3 test runs under Docker.
This change gives a clean test run in the Debian-based Python 2 and Python 3
docker images.
Diffstat (limited to 'Dockerfile-debian-python2-sqlite')
-rw-r--r-- | Dockerfile-debian-python2-sqlite | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Dockerfile-debian-python2-sqlite b/Dockerfile-debian-python2-sqlite index b055a434..155ceda5 100644 --- a/Dockerfile-debian-python2-sqlite +++ b/Dockerfile-debian-python2-sqlite @@ -24,7 +24,9 @@ python-py \ python-pytest \ python-pytest-xdist \ python-six \ +python-snowballstemmer \ python-sphinx \ +python-sphinxcontrib.websupport \ python-webtest RUN apt-get install -y \ @@ -58,6 +60,8 @@ RUN ./bootstrap.sh RUN VIRTUALENV_FLAGS='--system-site-packages' ./configure --without-python3 RUN make +RUN ./bin/python -m pytest ./mediagoblin/tests --boxed + RUN echo '[[mediagoblin.media_types.audio]]' >> mediagoblin.ini RUN echo '[[mediagoblin.media_types.video]]' >> mediagoblin.ini |