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 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"]
|
||||
|
|
Reference in New Issue
Block a user