Skip to content

Commit

Permalink
Enable C++ tests in appveyor, only only Py2.7/3.7 64 bit for now.
Browse files Browse the repository at this point in the history
  • Loading branch information
scoder committed Jan 12, 2019
1 parent 3f35bed commit 44fb458
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ environment:
# /E:ON and /V:ON options are not enabled in the batch script interpreter
# See: https://stackoverflow.com/questions/11267463/compiling-python-modules-on-windows-x64/13751649#13751649
WITH_ENV: "cmd /E:ON /V:ON /C .\\appveyor\\run_with_env.cmd"
BACKEND: c

matrix:
- PYTHON: "C:\\Python27"
Expand All @@ -25,6 +26,11 @@ environment:
PYTHON_VERSION: "3.7"
PYTHON_ARCH: "64"

- PYTHON: "C:\\Python37-x64"
PYTHON_VERSION: "3.7"
PYTHON_ARCH: "64"
BACKEND: cpp

- PYTHON: "C:\\Python36"
PYTHON_VERSION: "3.6"
PYTHON_ARCH: "32"
Expand All @@ -49,6 +55,11 @@ environment:
PYTHON_VERSION: "3.4"
PYTHON_ARCH: "64"

- PYTHON: "C:\\Python27-x64"
PYTHON_VERSION: "2.7"
PYTHON_ARCH: "64"
BACKEND: cpp

clone_depth: 5

branches:
Expand All @@ -74,7 +85,7 @@ test: off
test_script:
- "%PYTHON%\\Scripts\\pip.exe install -r test-requirements.txt"
- "set CFLAGS=/Od /W3"
- "%WITH_ENV% %PYTHON%\\python.exe runtests.py -vv --no-cpp --no-code-style -j5"
- "%WITH_ENV% %PYTHON%\\python.exe runtests.py -vv --backend=%BACKEND% --no-code-style -j5"

artifacts:
- path: dist\*
Expand Down

0 comments on commit 44fb458

Please sign in to comment.