Commit 44fb4589 authored by Stefan Behnel's avatar Stefan Behnel

Enable C++ tests in appveyor, only only Py2.7/3.7 64 bit for now.

parent 3f35bed0
...@@ -7,6 +7,7 @@ environment: ...@@ -7,6 +7,7 @@ environment:
# /E:ON and /V:ON options are not enabled in the batch script interpreter # /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 # 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" WITH_ENV: "cmd /E:ON /V:ON /C .\\appveyor\\run_with_env.cmd"
BACKEND: c
matrix: matrix:
- PYTHON: "C:\\Python27" - PYTHON: "C:\\Python27"
...@@ -25,6 +26,11 @@ environment: ...@@ -25,6 +26,11 @@ environment:
PYTHON_VERSION: "3.7" PYTHON_VERSION: "3.7"
PYTHON_ARCH: "64" PYTHON_ARCH: "64"
- PYTHON: "C:\\Python37-x64"
PYTHON_VERSION: "3.7"
PYTHON_ARCH: "64"
BACKEND: cpp
- PYTHON: "C:\\Python36" - PYTHON: "C:\\Python36"
PYTHON_VERSION: "3.6" PYTHON_VERSION: "3.6"
PYTHON_ARCH: "32" PYTHON_ARCH: "32"
...@@ -49,6 +55,11 @@ environment: ...@@ -49,6 +55,11 @@ environment:
PYTHON_VERSION: "3.4" PYTHON_VERSION: "3.4"
PYTHON_ARCH: "64" PYTHON_ARCH: "64"
- PYTHON: "C:\\Python27-x64"
PYTHON_VERSION: "2.7"
PYTHON_ARCH: "64"
BACKEND: cpp
clone_depth: 5 clone_depth: 5
branches: branches:
...@@ -74,7 +85,7 @@ test: off ...@@ -74,7 +85,7 @@ test: off
test_script: test_script:
- "%PYTHON%\\Scripts\\pip.exe install -r test-requirements.txt" - "%PYTHON%\\Scripts\\pip.exe install -r test-requirements.txt"
- "set CFLAGS=/Od /W3" - "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: artifacts:
- path: dist\* - path: dist\*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment