forked from microsoft/vscode-python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.appveyor.yml
109 lines (103 loc) · 3.14 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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
#image: Visual Studio 2017
#shallow_clone: true
environment:
matrix:
- PYTHON: "C:\\Python36"
PYTHON_VERSION: "3.6.3"
PYTHON_ARCH: "32"
nodejs_version: "8.9.1"
APPVEYOR: "true"
DEBUGGER_TEST: "true"
- PYTHON: "C:\\Python36"
PYTHON_VERSION: "3.6.3"
PYTHON_ARCH: "32"
nodejs_version: "8.9.1"
APPVEYOR: "true"
DEBUGGER_TEST_RELEASE: "true"
- PYTHON: "C:\\Python36"
PYTHON_VERSION: "3.6.3"
PYTHON_ARCH: "32"
nodejs_version: "8.9.1"
APPVEYOR: "true"
SINGLE_WORKSPACE_TEST: "true"
- PYTHON: "C:\\Python36"
PYTHON_VERSION: "3.6.3"
PYTHON_ARCH: "32"
nodejs_version: "8.9.1"
APPVEYOR: "true"
MULTIROOT_WORKSPACE_TEST: "true"
- PYTHON: "C:\\Python36"
PYTHON_VERSION: "3.6.3"
PYTHON_ARCH: "32"
nodejs_version: "8.9.1"
APPVEYOR: "true"
ANALYSIS_TEST: "true"
matrix:
allow_failures:
- PYTHON: "C:\\Python36"
PYTHON_VERSION: "3.6.3"
PYTHON_ARCH: "32"
nodejs_version: "8.9.1"
APPVEYOR: "true"
DEBUGGER_TEST: "true"
- PYTHON: "C:\\Python36"
PYTHON_VERSION: "3.6.3"
PYTHON_ARCH: "32"
nodejs_version: "8.9.1"
APPVEYOR: "true"
DEBUGGER_TEST_RELEASE: "true"
- PYTHON: "C:\\Python36"
PYTHON_VERSION: "3.6.3"
PYTHON_ARCH: "32"
nodejs_version: "8.9.1"
APPVEYOR: "true"
SINGLE_WORKSPACE_TEST: "true"
- PYTHON: "C:\\Python36"
PYTHON_VERSION: "3.6.3"
PYTHON_ARCH: "32"
nodejs_version: "8.9.1"
APPVEYOR: "true"
MULTIROOT_WORKSPACE_TEST: "true"
- PYTHON: "C:\\Python36"
PYTHON_VERSION: "3.6.3"
PYTHON_ARCH: "32"
nodejs_version: "8.9.1"
APPVEYOR: "true"
ANALYSIS_TEST: "true"
init:
- "ECHO %PYTHON% %PYTHON_VERSION% %PYTHON_ARCH%"
install:
- ps: Install-Product node $env:nodejs_version
- npm i -g yarn
- yarn --frozen-lockfile
- "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
- python -m pip install -U pip
- pip install -t ./pythonFiles/experimental/ptvsd git+https://github.com/Microsoft/ptvsd/
- python --version
- python -m easy_install -U setuptools
- "%PYTHON%/Scripts/pip.exe install --upgrade -r requirements.txt"
build: off
# build_script:
# - git clone https://github.com/MikhailArkhipov/PTVS.git c:/projects/PTVS
# - "cd c:\\projects\\PTVS"
# - git checkout origin/vsc
# - "cd Python\\Product\\VSCode\\AnalysisVsc"
# - "dotnet --info"
# - "dotnet build"
# - "cd c:\\projects\\vscode-python"
# - "xcopy /S /I c:\\projects\\PTVS\\BuildOutput\\VsCode\\raw analysis"
test_script:
- yarn run clean
- yarn run vscode:prepublish
- if [%DEBUGGER_TEST%]==[true] (
yarn run testDebugger --silent)
- yarn run clean:ptvsd
- pip install -t ./pythonFiles/experimental/ptvsd ptvsd --pre --no-cache-dir
- if [%DEBUGGER_TEST_RELEASE%]==[true] (
yarn run testDebugger --silent)
- if [%SINGLE_WORKSPACE_TEST%]==[true] (
yarn run testSingleWorkspace --silent)
- if [%MULTIROOT_WORKSPACE_TEST%]==[true] (
yarn run testMultiWorkspace --silent)
# - if [%ANALYSIS_TEST%]==[true] (
# yarn run testAnalysisEngine --silent)