forked from lightkurve/lightkurve
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
27 lines (26 loc) · 670 Bytes
/
Copy path.travis.yml
File metadata and controls
27 lines (26 loc) · 670 Bytes
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
language: python
python:
- 2.7
- 3.6
before_install: # optional dependencies
- pip install codecov
- pip install pytest-cov
- pip install pytest-remotedata
- pip install sphinx_rtd_theme
- pip install numpydoc
- pip install pandas
- pip install ipython # required by bokeh
- pip install bokeh
install:
- pip install -r requirements.txt
# command to run tests
before_script: # configure a headless display to test plot generation
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- sleep 3 # give xvfb some time to start
# command to run tests
script:
- python setup.py develop
- pytest --remote-data
after_success:
- codecov