Skip to content

Commit ecdcaf0

Browse files
committed
upgrade appveyor
1 parent 4ae77ad commit ecdcaf0

File tree

1 file changed

+6
-22
lines changed

1 file changed

+6
-22
lines changed

appveyor.yml

Lines changed: 6 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,55 +1,39 @@
11
version: .{build}-{branch}
22

3+
cache:
4+
- '%LOCALAPPDATA%\pip\Cache'
5+
36
environment:
4-
nodejs_version: "8"
57

68
SYSTEMROOT: "C:\\WINDOWS"
79

810
matrix:
9-
- PYTHON: "C:\\Python27"
10-
PYTHON_VERSION: "2.7.x"
11-
PYTHON_ARCH: "32"
12-
1311
- PYTHON: "C:\\Python27-x64"
1412
PYTHON_VERSION: "2.7.x"
1513
PYTHON_ARCH: "64"
1614

17-
- PYTHON: "C:\\Python34"
18-
PYTHON_VERSION: "3.4.x"
19-
PYTHON_ARCH: "32"
20-
2115
- PYTHON: "C:\\Python34-x64"
2216
PYTHON_VERSION: "3.4.x"
2317
PYTHON_ARCH: "64"
2418

25-
- PYTHON: "C:\\Python35"
26-
PYTHON_VERSION: "3.5.x"
27-
PYTHON_ARCH: "32"
28-
2919
- PYTHON: "C:\\Python35-x64"
3020
PYTHON_VERSION: "3.5.x"
3121
PYTHON_ARCH: "64"
3222

33-
- PYTHON: "C:\\Python36"
34-
PYTHON_VERSION: "3.6.x"
35-
PYTHON_ARCH: "32"
36-
3723
- PYTHON: "C:\\Python36-x64"
3824
PYTHON_VERSION: "3.6.x"
3925
PYTHON_ARCH: "64"
4026

4127
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"
4529

4630
build_script:
4731
- "%PYTHON%\\python.exe -m pip install ."
4832

4933
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"
5135

52-
after_test:
36+
on_finish:
5337
- ps: |
5438
$wc = New-Object 'System.Net.WebClient'
5539
$wc.UploadFile("https://ci.appveyor.com/api/testresults/junit/$($Env:APPVEYOR_JOB_ID)", (Resolve-Path .\tests.xml))

0 commit comments

Comments
 (0)