Try to use tox in fedora container

This commit is contained in:
Dmitri Bogomolov 2021-02-17 22:37:41 +02:00
parent b99d5670db
commit 854aa523a5
Signed by untrusted user: g1itch
GPG Key ID: 720A756F18DEED13

View File

@ -15,6 +15,10 @@ RUN dnf -y install \
RUN ln -s /usr/bin/python2 /usr/bin/python
RUN dnf -yq install tox
ENV LC_ALL en_US.utf8
WORKDIR ${HOME}
ADD . ${HOME}
@ -29,7 +33,7 @@ RUN useradd bitmessage && chown -R bitmessage ${HOME}
USER bitmessage
# Generate default config and run core tests
RUN LC_ALL=en_US.utf8 xvfb-run src/bitmessagemain.py -t
RUN python2 pybitmessage -t
CMD ["python2", "setup.py", "test"]
CMD ["tox"]