Lock down NumPy version on Travis CI, to fix #35

This should stop jplephem from accidentally using features too modern
for users on several-year-old systems.
This commit is contained in:
Brandon Rhodes 2019-12-16 09:17:01 -05:00
parent 8927698a85
commit 3f3a762baf
1 changed files with 5 additions and 1 deletions

View File

@ -9,8 +9,12 @@ python:
- "3.6"
- "3.7"
# The old version of NumPy installed here is in support of users who
# cannot upgrade relentlessly.
# https://github.com/brandon-rhodes/python-jplephem/issues/35
install:
- "pip install unittest2"
- "pip install numpy==1.11.3 unittest2"
- "python setup.py sdist"
- "mv jplephem trash"
- "pip install dist/jplephem-*.tar.gz"