2015-02-08 01:16:48 +01:00
|
|
|
# Config file for automatic testing at travis-ci.org
|
|
|
|
|
|
|
|
language: python
|
|
|
|
|
|
|
|
python:
|
|
|
|
- "2.7"
|
|
|
|
- "3.4"
|
2016-04-03 02:22:01 +02:00
|
|
|
- "3.5"
|
2018-02-09 13:32:50 +01:00
|
|
|
- "3.6"
|
2019-08-22 22:07:43 +02:00
|
|
|
- "3.7"
|
2015-02-08 01:16:48 +01:00
|
|
|
|
2019-12-16 15:17:01 +01:00
|
|
|
# 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
|
|
|
|
|
2015-02-08 01:16:48 +01:00
|
|
|
install:
|
2019-12-16 18:16:57 +01:00
|
|
|
- "if [[ $TRAVIS_PYTHON_VERSION < 3.7 ]] ; then pip install numpy==1.11.3 ; else pip install numpy ; fi"
|
|
|
|
- "pip install unittest2"
|
2015-02-08 21:20:04 +01:00
|
|
|
- "python setup.py sdist"
|
|
|
|
- "mv jplephem trash"
|
|
|
|
- "pip install dist/jplephem-*.tar.gz"
|
2015-02-08 01:16:48 +01:00
|
|
|
|
|
|
|
script:
|
2019-09-19 22:21:40 +02:00
|
|
|
- "cd ci"
|
|
|
|
- "unit2 jplephem.test"
|
|
|
|
- "python -m jplephem.jpltest"
|