34
34
- MAIN_CMD='python setup.py'
35
35
- NUMPY_VERSION=stable
36
36
- ASTROPY_VERSION=stable
37
- - CONDA_DEPENDENCIES='requests beautifulsoup4 html5lib keyring aplpy matplotlib pyregion jinja2 flask regions '
38
- - CONDA_DEPENDENCIES_REMOTE='requests beautifulsoup4 html5lib keyring aplpy matplotlib pyregion jinja2 flask regions '
39
- - PIP_DEPENDENCIES='https://github.com/keflavich/httpbin/archive/master.zip astropy_healpix mocpy>=0.5.2 pytest-dependency pytest-astropy pyvo'
37
+ - CONDA_DEPENDENCIES='requests beautifulsoup4 html5lib keyring matplotlib jinja2 flask'
38
+ - CONDA_DEPENDENCIES_REMOTE='requests beautifulsoup4 html5lib keyring matplotlib jinja2 flask'
39
+ - PIP_DEPENDENCIES='https://github.com/keflavich/httpbin/archive/master.zip aplpy pyregion regions astropy_healpix mocpy>=0.5.2 pytest-dependency pytest-astropy pyvo'
40
40
- HTTP_BIN_CMD="import httpbin; httpbin.app.run()"
41
41
- RUN_HTTPBIN='python -c "$HTTP_BIN_CMD" & ACTIVE_HTTPBIN=True'
42
42
- SETUP_CMD='test'
@@ -58,27 +58,30 @@ jobs:
58
58
# both short and long versions for remote-data to help test the
59
59
# astropy test command.
60
60
- os : linux
61
+ name : Remote data test with astropy dev, Python 3.7
61
62
stage : Remote data tests
62
63
env : EVENT_TYPE='push cron' DEBUG=True ASTROPY_VERSION=dev
63
64
SETUP_CMD='test -R -V -a "--durations=50"'
64
65
CONDA_DEPENDENCIES=$CONDA_DEPENDENCIES_REMOTE
65
66
66
67
- stage : Initial tests
68
+ name : egg info
67
69
env : PYTHON_VERSION=3.7 SETUP_CMD='egg_info'
68
70
69
- # No need to run it from cron
70
- # Try MacOS X
71
71
- os : osx
72
+ name : OSX from cron
72
73
stage : Cron tests
73
74
env : EVENT_TYPE='cron'
74
75
75
76
- os : linux
76
77
stage : Initial tests
78
+ name : Python 3.7 and all dependencies
77
79
env : SETUP_CMD='test --coverage'
78
80
79
81
# Check for sphinx doc build warnings - we do this first because it
80
82
# may run for a long time
81
83
- os : linux
84
+ name : Docs build
82
85
stage : Test docs, astropy dev, and without optional dependencies
83
86
env : SETUP_CMD='build_docs -w'
84
87
@@ -89,21 +92,26 @@ jobs:
89
92
# master for cron jobs. secretstorage is a keyring dependency, we
90
93
# need to pin the version number to make this job work.
91
94
# Test the oldest astropy version without optional dependencies.
95
+ # Reproject is listed as dependency to avoid upgrading astropy
92
96
- os : linux
97
+ name : Oldest dependencies
93
98
stage : Tests with other Python/Numpy versions
94
99
env : PYTHON_VERSION=3.6 NUMPY_VERSION=1.14 KEYRING_VERSION='<12.0'
95
- ASTROPY_VERSION=3.0 APLPY_VERSION='<2.0' DEBUG=True
96
-
100
+ ASTROPY_VERSION=3.0 DEBUG=True
101
+ PIP_DEPENDENCIES="`echo $PIP_DEPENDENCIES reproject==0.5 | sed 's/aplpy/aplpy<2.0/'`"
97
102
- os : linux
103
+ name : Python 3.6, np 1.15, astropy 3.2
98
104
stage : Tests with other Python/Numpy versions
99
105
env : PYTHON_VERSION=3.6 NUMPY_VERSION=1.15 ASTROPY_VERSION=3.2
100
106
101
107
- os : linux
108
+ name : Python 3.7, astropy dev
102
109
stage : Test docs, astropy dev, and without optional dependencies
103
110
env : ASTROPY_VERSION=development EVENT_TYPE='pull_request'
104
111
105
112
# Try with optional dependencies disabled
106
113
- os : linux
114
+ name : Python 3.8, mandatory dependencies only
107
115
stage : Test docs, astropy dev, and without optional dependencies
108
116
env : PYTHON_VERSION=3.8
109
117
CONDA_DEPENDENCIES='requests beautifulsoup4 html5lib keyring'
@@ -112,12 +120,14 @@ jobs:
112
120
113
121
# Do a PEP8 test with pycodestyle
114
122
- os : linux
123
+ name : Code style
115
124
stage : Initial tests
116
125
env : MAIN_CMD='pycodestyle astroquery --count'
117
126
SETUP_CMD='' EVENT_TYPE='push pull_request'
118
127
119
128
# Do the windows test at the end as installing takes a long time
120
129
- os : windows
130
+ name : Windows test
121
131
stage : Windows test
122
132
env : PYTHON_VERSION=3.7 SETUP_CMD='test'
123
133
@@ -137,6 +147,7 @@ jobs:
137
147
allow_failures :
138
148
# Allow remote-data tests to fail.
139
149
- os : linux
150
+ name : Remote data test with astropy dev, Python 3.7
140
151
stage : Remote data tests
141
152
env : EVENT_TYPE='push cron' DEBUG=True ASTROPY_VERSION=dev
142
153
SETUP_CMD='test -R -V -a "--durations=50"'
0 commit comments