File tree Expand file tree Collapse file tree 1 file changed +56
-0
lines changed Expand file tree Collapse file tree 1 file changed +56
-0
lines changed Original file line number Diff line number Diff line change
1
+ environment :
2
+ VENV : " %APPVEYOR_BUILD_FOLDER%\\ venv"
3
+
4
+ matrix :
5
+ - TOXENV : py26
6
+ PYTHON : " C:\\ Python26"
7
+
8
+ - TOXENV : py26
9
+ PYTHON : " C:\\ Python26-x64"
10
+
11
+ - TOXENV : py27
12
+ PYTHON : " C:\\ Python27"
13
+
14
+ - TOXENV : py27
15
+ PYTHON : " C:\\ Python27-x64"
16
+
17
+ - TOXENV : py34
18
+ PYTHON : " C:\\ Python34"
19
+
20
+ - TOXENV : py34
21
+ PYTHON : " C:\\ Python34-x64"
22
+
23
+ - TOXENV : py35
24
+ PYTHON : " C:\\ Python35"
25
+
26
+ - TOXENV : py35
27
+ PYTHON : " C:\\ Python35-x64"
28
+
29
+ - TOXENV : py36
30
+ PYTHON : " C:\\ Python36"
31
+
32
+ - TOXENV : py36
33
+ PYTHON : " C:\\ Python36-x64"
34
+
35
+ # https://www.appveyor.com/docs/how-to/rdp-to-build-worker/
36
+ init :
37
+ - ps : if (Get-ChildItem Env:ENABLE_RDP -ErrorAction SilentlyContinue) {iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))} else {echo RDP not enabled}
38
+ - echo "TOXENV- %TOXENV%"
39
+
40
+ install :
41
+ # https://github.com/pypa/virtualenv/issues/1050
42
+ - pip install -U git+https://github.com/pypa/virtualenv@e8163e83a92c9098f51d390289323232ece15e3b
43
+ - virtualenv -p "%PYTHON%\\python.exe" "%VENV%"
44
+ - " %VENV%\\ Scripts\\ activate"
45
+ # https://github.com/pypa/virtualenv/issues/1050
46
+ - pip install git+https://github.com/pypa/virtualenv@e8163e83a92c9098f51d390289323232ece15e3b
47
+ - pip install tox
48
+
49
+ build : off
50
+
51
+ test_script :
52
+ - tox
53
+
54
+ # https://www.appveyor.com/docs/how-to/rdp-to-build-worker/
55
+ on_finish :
56
+ - ps : if (Get-ChildItem Env:ENABLE_RDP -ErrorAction SilentlyContinue) {$blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))} else {echo RDP not enabled}
You can’t perform that action at this time.
0 commit comments