For Travis CI: a more recent numpy for Python 3.7

This commit is contained in:
Brandon Rhodes 2019-12-16 12:16:57 -05:00
parent 6cabfb53c1
commit fa1f6f2b19
1 changed files with 2 additions and 1 deletions

View File

@ -14,7 +14,8 @@ python:
# https://github.com/brandon-rhodes/python-jplephem/issues/35
install:
- "pip install numpy==1.11.3 unittest2"
- "if [[ $TRAVIS_PYTHON_VERSION < 3.7 ]] ; then pip install numpy==1.11.3 ; else pip install numpy ; fi"
- "pip install unittest2"
- "python setup.py sdist"
- "mv jplephem trash"
- "pip install dist/jplephem-*.tar.gz"