File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 1
1
version : .{build}-{branch}
2
2
3
3
environment :
4
+ nodejs_version : " 8"
5
+
4
6
SYSTEMROOT : " C:\\ WINDOWS"
5
7
6
8
matrix :
@@ -22,18 +24,18 @@ environment:
22
24
23
25
24
26
install :
27
+ # Get the latest stable version of Node.js or io.js
28
+ - ps : Install-Product node $env:nodejs_version
25
29
- " SET PATH=%PYTHON%;%PYTHON%\\ Scripts;%PATH%"
26
- - " python --version"
27
- - " python -c \" import struct; print(struct.calcsize('P') * 8)\" "
28
30
29
31
build_script :
30
32
- " %CMD_IN_ENV% pip install -U setuptools pip"
33
+ - " %CMD_IN_ENV% pip install pytest mock"
31
34
- " %CMD_IN_ENV% pip install ."
32
35
33
36
34
37
test_script :
35
-
36
- - " %CMD_IN_ENV% python setup.py test"
38
+ - " %CMD_IN_ENV% py.test --verbose -p no:cacheprovider"
37
39
38
40
branches :
39
41
only :
You can’t perform that action at this time.
0 commit comments