Skip to content

Commit 19f78be

Browse files
committed
more appveyor fixes
1 parent 7ce2f65 commit 19f78be

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

appveyor.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
environment:
22

3+
global:
4+
# SDK v7.0 MSVC Express 2008's SetEnv.cmd script will fail if the
5+
# /E:ON and /V:ON options are not enabled in the batch script intepreter
6+
# See: http://stackoverflow.com/a/13751649/163740
7+
CMD_IN_ENV: "cmd /E:ON /V:ON /C .\\build.cmd"
8+
39
matrix:
410

511
- PYTHON: "C:\\Python27"
@@ -20,11 +26,11 @@ install:
2026
build: off
2127

2228
test_script:
23-
- "build.cmd %PYTHON%\\python.exe setup.py build_ext --inplace"
24-
- "build.cmd %PYTHON%\\python.exe -m nose -v"
29+
- "%CMD_IN_ENV% python setup.py build_ext --inplace"
30+
- "%CMD_IN_ENV% python -m nose -v"
2531

2632
after_test:
27-
- "build.cmd %PYTHON%\\python.exe setup.py bdist_wheel"
33+
- "%CMD_IN_ENV% python setup.py bdist_wheel"
2834

2935
artifacts:
3036
- path: dist\*

0 commit comments

Comments
 (0)