Try to use tox in fedora container
This commit is contained in:
parent
b99d5670db
commit
854aa523a5
|
@ -15,6 +15,10 @@ RUN dnf -y install \
|
||||||
|
|
||||||
RUN ln -s /usr/bin/python2 /usr/bin/python
|
RUN ln -s /usr/bin/python2 /usr/bin/python
|
||||||
|
|
||||||
|
RUN dnf -yq install tox
|
||||||
|
|
||||||
|
ENV LC_ALL en_US.utf8
|
||||||
|
|
||||||
WORKDIR ${HOME}
|
WORKDIR ${HOME}
|
||||||
ADD . ${HOME}
|
ADD . ${HOME}
|
||||||
|
|
||||||
|
@ -29,7 +33,7 @@ RUN useradd bitmessage && chown -R bitmessage ${HOME}
|
||||||
USER bitmessage
|
USER bitmessage
|
||||||
|
|
||||||
# Generate default config and run core tests
|
# 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"]
|
||||||
|
|
Reference in New Issue
Block a user