Newer
Older
Antoine Berchet
committed
# Build a Docker image that contains pyCIF and all requirements.
Antoine Berchet
committed
RUN apt-get install -y python-yaml \
&& pip install pytest pytest-html pyyaml
Antoine Berchet
committed
Antoine Berchet
committed
RUN cd /tmp/CIF/ \
&& python setup.py develop --user -u \
&& python setup.py develop --user
RUN cd /tmp/CIF/ \
&& export PYCIF_DATATEST=/tmp/PYCIF_DATA_TEST/ \
&& pytest -s -m "test_in_ci and chimere"
Antoine Berchet
committed
#RUN cd /tmp/CIF/config_files/tuto_gauss \
# && python -m pycif config_dummy_fwd.yml
Antoine Berchet
committed
Antoine Berchet
committed
Antoine Berchet
committed
#RUN cd /tmp/CIF/config_files/tuto_chimere/ \
# && python -m pycif config_chimere_fwd_academic_onespec.yml;
#RUN cd /tmp/CIF/ \
# && tox -e py36 -e coverage