Quick script for running tests against Python 2.6
This commit is contained in:
parent
b4359e28e1
commit
952884657e
|
@ -0,0 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
cd "$(dirname "${BASH_SOURCE[0]}")"
|
||||
cd ..
|
||||
exec ./containers/python-2.6/run bash -c \
|
||||
'cd skyfield && ls && assay --batch skyfield/tests'
|
|
@ -2,8 +2,7 @@ FROM mrupgrade/deadsnakes:2.6
|
|||
RUN apt update
|
||||
RUN apt install -y -y build-essential python2.6-dev
|
||||
RUN pip install numpy==1.11.3
|
||||
RUN pip install argparse mock pytz unittest2
|
||||
RUN pip install argparse certifi jplephem mock pytz sgp4 unittest2
|
||||
RUN pip install https://github.com/brandon-rhodes/assay/archive/master.zip
|
||||
RUN pip install skyfield
|
||||
RUN echo 'assay --batch skyfield.tests' > /root/.bash_history
|
||||
RUN echo 'PYTHONPATH=.. assay --batch skyfield.tests' > /root/.bash_history
|
||||
CMD cd skyfield/ci && /bin/bash
|
||||
|
|
Loading…
Reference in New Issue