Commit e6a3e063 authored by Recteur LP's avatar Recteur LP

Drop python2 test in Fedora Image

parent 0152b32a
Pipeline #1351 failed with stages
in 10 minutes and 21 seconds
......@@ -42,7 +42,6 @@ goss: test-build
tests: test-build
@docker run --rm -e http_proxy=$(HTTP_PROXY) -e https_proxy=$(HTTP_PROXY) -t pyrmin:tests python3
@docker run --rm -e http_proxy=$(HTTP_PROXY) -e https_proxy=$(HTTP_PROXY) -t pyrmin:tests python2
@docker run --rm -t pyrmin:tests pep8
@docker run --rm -t pyrmin:tests grunt
......
......@@ -7,10 +7,6 @@ RUN dnf -v -y install \
python3-pip \
python3-setuptools \
python3-devel \
python2-pip \
python2-virtualenv \
python2-setuptools \
python2-devel \
nodejs \
npm \
git \
......@@ -30,10 +26,6 @@ RUN mkdir -p /etc/pyrmin /usr/share/pyrmin/plugins /var/log/pyrmin /static /opt/
&& /opt/pyrmin/venv-3/bin/pip3 install -q -r /opt/pyrmin/requirements.txt \
&& /opt/pyrmin/venv-3/bin/pip3 install -q -r /opt/pyrmin/requirements-tests.txt \
&& /opt/pyrmin/venv-3/bin/python3 setup.py develop \
&& python2 -m virtualenv --system-site-packages /opt/pyrmin/venv-2 \
&& /opt/pyrmin/venv-2/bin/pip install -q -r /opt/pyrmin/requirements.txt \
&& /opt/pyrmin/venv-2/bin/pip install -q -r /opt/pyrmin/requirements-tests.txt \
&& /opt/pyrmin/venv-2/bin/python setup.py develop \
&& cp /opt/pyrmin/conf/pyrmin.yml.default /opt/pyrmin/conf/pyrmin.yml \
&& cp /opt/pyrmin/docker/entrypoint_testing.sh /entrypoint.sh \
&& chmod +rx /entrypoint.sh \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment