forked from skyfielders/python-skyfield
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
31 lines (26 loc) · 861 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Config file for automatic testing at travis-ci.org
language: python
sudo: false
python:
- "2.7"
- "3.5"
- "3.6"
- "3.7"
# matrix:
# include:
# - python: "3.7"
# dist: xenial # required for Python 3.7 (travis-ci/travis-ci#9069)
# sudo: required # required for Python 3.7 (travis-ci/travis-ci#9069)
install:
- "python setup.py sdist"
- "mkdir tmp"
- "ln ci/* tmp"
- "cd tmp"
- "pip install --upgrade pip"
- "pip install $(echo ../dist/skyfield-*.tar.gz)'[tests]'"
- "pip install https://github.com/brandon-rhodes/assay/archive/master.zip"
- "pip install pandas==0.24.2 unittest2"
- "python -c 'import pandas'"
script:
- "assay --batch skyfield.tests"
- "if [[ $TRAVIS_PYTHON_VERSION == 3.6 ]] ; then pip install astropy==3.0.1 matplotlib==2.2.3 numpy==1.14.2 sphinx==1.7.2 ; cd .. ; ./test-docs.sh ; fi"