Skip to content

Commit

Permalink
Fix failing upstream-dev build & remove docs build (#4160)
Browse files Browse the repository at this point in the history
Instead, we'll use RTD's new doc builder instead. For an example, click on
"docs/readthedocs.org:xray" below or look at GH4159
  • Loading branch information
shoyer authored Jun 16, 2020
1 parent bc5c79e commit 6f272b5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 19 deletions.
18 changes: 0 additions & 18 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,21 +108,3 @@ jobs:
python ci/min_deps_check.py ci/requirements/py36-bare-minimum.yml
python ci/min_deps_check.py ci/requirements/py36-min-all-deps.yml
displayName: minimum versions policy
- job: Docs
pool:
vmImage: 'ubuntu-16.04'
steps:
- template: ci/azure/install.yml
parameters:
env_file: ci/requirements/doc.yml
- bash: |
source activate xarray-tests
# Replicate the exact environment created by the readthedocs CI
conda install --yes --quiet -c pkgs/main mock pillow sphinx sphinx_rtd_theme
displayName: Replicate readthedocs CI environment
- bash: |
source activate xarray-tests
cd doc
sphinx-build -W --keep-going -j auto -b html -d _build/doctrees . _build/html
displayName: Build HTML docs
5 changes: 4 additions & 1 deletion ci/azure/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ steps:
conda env create -n xarray-tests --file ${{ parameters.env_file }}
displayName: Install conda dependencies

# TODO: add sparse back in, once Numba works with the development version of
# NumPy again: https://github.com/pydata/xarray/issues/4146
- bash: |
source activate xarray-tests
conda uninstall -y --force \
Expand All @@ -23,7 +25,8 @@ steps:
cftime \
rasterio \
pint \
bottleneck
bottleneck \
sparse
python -m pip install \
-i https://pypi.anaconda.org/scipy-wheels-nightly/simple \
--no-deps \
Expand Down

0 comments on commit 6f272b5

Please sign in to comment.