-
Notifications
You must be signed in to change notification settings - Fork 1.1k
BLD: build docs on Azure Pipelines #909
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 14 commits
0a79de5
b72d2ba
de103d8
e1c954b
087bf98
ca3c406
0d6d085
60079da
4c6f691
97b28ca
e5203a8
fc86bc9
31284f3
6e2c13d
98e18d4
f7e17cc
5bbfad2
fbb2a7a
19c49f6
fe93409
c07563d
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -194,3 +194,24 @@ jobs: | |
|
||
- script: python setup.py sdist | ||
displayName: 'Build sdist' | ||
|
||
|
||
- job: DocsTest | ||
pool: | ||
vmImage: 'ubuntu-16.04' | ||
steps: | ||
- bash: echo "##vso[task.prependpath]/usr/share/miniconda/bin" | ||
displayName: Add conda to PATH | ||
- script: conda env create -n test_env --quiet --file ci/doc.yml | ||
displayName: Create Anaconda environment | ||
- script: | | ||
source activate test_env | ||
# Replicate the exact environment created by the readthedocs CI | ||
CameronTStark marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
# conda install --yes --quiet -c pkgs/main mock pillow sphinx sphinx_rtd_theme | ||
CameronTStark marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
pip install -e .[all] | ||
CameronTStark marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
displayName: Replicate readthedocs CI environment | ||
|
||
- script: | | ||
source activate test_env | ||
cd docs/sphinx/ | ||
sphinx-build -j auto -b html -d _build/doctrees source build | ||
displayName: Build HTML docs |
Uh oh!
There was an error while loading. Please reload this page.