File tree Expand file tree Collapse file tree 1 file changed +6
-22
lines changed Expand file tree Collapse file tree 1 file changed +6
-22
lines changed Original file line number Diff line number Diff line change 1
1
version : .{build}-{branch}
2
2
3
+ cache :
4
+ - ' %LOCALAPPDATA%\pip\Cache'
5
+
3
6
environment :
4
- nodejs_version : " 8"
5
7
6
8
SYSTEMROOT : " C:\\ WINDOWS"
7
9
8
10
matrix :
9
- - PYTHON : " C:\\ Python27"
10
- PYTHON_VERSION : " 2.7.x"
11
- PYTHON_ARCH : " 32"
12
-
13
11
- PYTHON : " C:\\ Python27-x64"
14
12
PYTHON_VERSION : " 2.7.x"
15
13
PYTHON_ARCH : " 64"
16
14
17
- - PYTHON : " C:\\ Python34"
18
- PYTHON_VERSION : " 3.4.x"
19
- PYTHON_ARCH : " 32"
20
-
21
15
- PYTHON : " C:\\ Python34-x64"
22
16
PYTHON_VERSION : " 3.4.x"
23
17
PYTHON_ARCH : " 64"
24
18
25
- - PYTHON : " C:\\ Python35"
26
- PYTHON_VERSION : " 3.5.x"
27
- PYTHON_ARCH : " 32"
28
-
29
19
- PYTHON : " C:\\ Python35-x64"
30
20
PYTHON_VERSION : " 3.5.x"
31
21
PYTHON_ARCH : " 64"
32
22
33
- - PYTHON : " C:\\ Python36"
34
- PYTHON_VERSION : " 3.6.x"
35
- PYTHON_ARCH : " 32"
36
-
37
23
- PYTHON : " C:\\ Python36-x64"
38
24
PYTHON_VERSION : " 3.6.x"
39
25
PYTHON_ARCH : " 64"
40
26
41
27
install :
42
- - " %PYTHON%\\ python.exe -m pip install -U wheel setuptools pip pytest mock"
43
- # Get the latest stable version of Node.js or io.js
44
- - ps : Install-Product node $env:nodejs_version
28
+ - " %PYTHON%\\ python.exe -m pip install -U wheel pytest pytest-xdist mock"
45
29
46
30
build_script :
47
31
- " %PYTHON%\\ python.exe -m pip install ."
48
32
49
33
test_script :
50
- - " %PYTHON%\\ python.exe -m pytest --verbose -p no:cacheprovider --junit-xml=tests.xml"
34
+ - " %PYTHON%\\ python.exe -m pytest --verbose -p no:cacheprovider --junit-xml=tests.xml -n2 "
51
35
52
- after_test :
36
+ on_finish :
53
37
- ps : |
54
38
$wc = New-Object 'System.Net.WebClient'
55
39
$wc.UploadFile("https://ci.appveyor.com/api/testresults/junit/$($Env:APPVEYOR_JOB_ID)", (Resolve-Path .\tests.xml))
You can’t perform that action at this time.
0 commit comments