forked from aplpy/aplpy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
41 lines (32 loc) · 1.18 KB
/
.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
32
33
34
35
36
37
38
39
40
41
language: c
# Setting sudo to false opts in to Travis-CI container-based builds.
sudo: false
env:
global:
- SETUP_XVFB=True
- CONDA_CHANNELS='astropy'
- CONDA_DEPENDENCIES='nose pyqt matplotlib pillow scikit-image reproject>=0.4 pytest-mpl pyregion pyavm shapely'
- PIP_DEPENDENCIES='codecov'
matrix:
- PYTHON_VERSION=3.6 SETUP_CMD='egg_info'
- PYTHON_VERSION=3.6 SETUP_CMD='test --remote-data --coverage'
- PYTHON_VERSION=3.7 SETUP_CMD='egg_info'
- PYTHON_VERSION=3.7 SETUP_CMD='test --remote-data --coverage'
matrix:
include:
# Check for sphinx doc build warnings
- env: PYTHON_VERSION=3.6
SETUP_CMD='build_docs -w'
PIP_DEPENDENCIES='sphinx-astropy'
# Older Numpy version
- env: PYTHON_VERSION=3.6
SETUP_CMD='test --remote-data --coverage'
NUMPY_VERSION=1.13
install:
- git clone git://github.com/astropy/ci-helpers.git
- source ci-helpers/travis/setup_conda.sh
script:
- python setup.py check --restructuredtext
- python setup.py $SETUP_CMD
after_success:
- if [[ $SETUP_CMD == *coverage* ]]; then codecov; fi