forked from docascode/sphinx-docfx-yaml
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
28 lines (24 loc) · 1.03 KB
/
appveyor.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
environment:
matrix:
- PYTHON: "C:/Python27"
clone_folder: c:\projects\sphinx-docfx-yaml
install:
# .NET
- ps: (new-object net.webclient).DownloadFile('https://github.com/dotnet/docfx/releases/download/v2.10.2/docfx.zip', 'c:\projects\sphinx-docfx-yaml\docfx.zip')
- cd c:\projects\sphinx-docfx-yaml
- 7z e docfx.zip -oc:\projects\sphinx-docfx-yaml\docfx
# Python
- ps: (new-object net.webclient).DownloadFile('https://bootstrap.pypa.io/get-pip.py', 'C:/get-pip.py')
- "%PYTHON%/python.exe C:/get-pip.py"
- "%PYTHON%/Scripts/pip.exe --version"
- "%PYTHON%/Scripts/pip.exe install tox sphinx msrest msrestazure sphinx_rtd_theme ."
build_script:
- cd c:\projects\sphinx-docfx-yaml\docs
- "git clone https://github.com/ericholscher/azure-sdk-for-python/"
- cd azure-sdk-for-python
- python setup.py install --quiet
- cd doc
- "%PYTHON%/Scripts/sphinx-build.exe -b html -d _build/doctrees . _build/html"
- c:\projects\sphinx-docfx-yaml\docfx\docfx.exe build
artifacts:
- path: 'docs/azure-sdk-for-python/doc/'