forked from docascode/sphinx-docfx-yaml
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathold_appveyor.yml
43 lines (36 loc) · 1.33 KB
/
old_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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
build: false
before_build:
- nuget restore
environment:
matrix:
- PYTHON: "C:/Python27"
install:
- 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"
test_script:
- "docfx init -q"
- "git clone https://github.com/aspnet/Identity %APPVEYOR_BUILD_FOLDER%/tests/dotnetexample/example/Identity"
- "%PYTHON%/Scripts/tox.exe -e py27"
# V2
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 sphinx_rtd_theme ."
build_script:
- cd c:\projects\sphinx-docfx-yaml\docs
- "%PYTHON%/Scripts/sphinx-build.exe -b html -d _build/doctrees . _build/html"
- ..\docfx\docfx.exe build
artifacts:
- path: 'docs'