Skip to content

Commit 96d3167

Browse files
committed
Fixing more versions for the oldest dependency job
1 parent a187373 commit 96d3167

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.travis.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ env:
3434
- MAIN_CMD='python setup.py'
3535
- NUMPY_VERSION=stable
3636
- ASTROPY_VERSION=stable
37-
- CONDA_DEPENDENCIES='requests beautifulsoup4 html5lib keyring matplotlib pyregion jinja2 flask'
38-
- CONDA_DEPENDENCIES_REMOTE='requests beautifulsoup4 html5lib keyring matplotlib pyregion jinja2 flask'
39-
- PIP_DEPENDENCIES='https://github.com/keflavich/httpbin/archive/master.zip aplpy regions 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'
4040
- HTTP_BIN_CMD="import httpbin; httpbin.app.run()"
4141
- RUN_HTTPBIN='python -c "$HTTP_BIN_CMD" & ACTIVE_HTTPBIN=True'
4242
- SETUP_CMD='test'
@@ -92,12 +92,13 @@ jobs:
9292
# master for cron jobs. secretstorage is a keyring dependency, we
9393
# need to pin the version number to make this job work.
9494
# Test the oldest astropy version without optional dependencies.
95+
# Reproject is listed as dependency to avoid upgrading astropy
9596
- os: linux
9697
name: Oldest dependencies
9798
stage: Tests with other Python/Numpy versions
9899
env: PYTHON_VERSION=3.6 NUMPY_VERSION=1.14 KEYRING_VERSION='<12.0'
99-
ASTROPY_VERSION=3.0 APLPY_VERSION='<2.0' DEBUG=True
100-
100+
ASTROPY_VERSION=3.0 DEBUG=True
101+
PIP_DEPENDENCIES="`echo $PIP_DEPENDENCIES reproject==0.5 | sed 's/aplpy/aplpy<2.0/'`"
101102
- os: linux
102103
name: Python 3.6, np 1.15, astropy 3.2
103104
stage: Tests with other Python/Numpy versions

0 commit comments

Comments
 (0)