mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-22 13:15:12 +00:00
appveyor: show output on test failure
This commit is contained in:
parent
dc13cf0e54
commit
5130212d5f
@ -12,8 +12,10 @@ environment:
|
|||||||
matrix:
|
matrix:
|
||||||
- CMAKE_PLATFORM: "Visual Studio 14 2015"
|
- CMAKE_PLATFORM: "Visual Studio 14 2015"
|
||||||
PYTHON_DIR: "C:\\Python34"
|
PYTHON_DIR: "C:\\Python34"
|
||||||
|
CTEST_OUTPUT_ON_FAILURE: 1
|
||||||
- CMAKE_PLATFORM: "Visual Studio 14 2015 Win64"
|
- CMAKE_PLATFORM: "Visual Studio 14 2015 Win64"
|
||||||
PYTHON_DIR: "C:\\Python34-x64"
|
PYTHON_DIR: "C:\\Python34-x64"
|
||||||
|
CTEST_OUTPUT_ON_FAILURE: 1
|
||||||
install:
|
install:
|
||||||
- cinstall: python
|
- cinstall: python
|
||||||
build_script:
|
build_script:
|
||||||
@ -21,4 +23,7 @@ build_script:
|
|||||||
- cd c:\projects\pybind11
|
- cd c:\projects\pybind11
|
||||||
- cmake -G "%CMAKE_PLATFORM%" -DPYTHON_EXECUTABLE:FILEPATH=%PYTHON_DIR%/python.exe
|
- cmake -G "%CMAKE_PLATFORM%" -DPYTHON_EXECUTABLE:FILEPATH=%PYTHON_DIR%/python.exe
|
||||||
- set MSBuildLogger="C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
|
- set MSBuildLogger="C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
|
||||||
|
- cmake --build . --config %Configuration% -- /v:m /logger:%MSBuildLogger%
|
||||||
|
- set PATH=%PYTHON_DIR%;%PATH%
|
||||||
|
- python example/example18.py
|
||||||
- cmake --build . --config %Configuration% --target check -- /v:m /logger:%MSBuildLogger%
|
- cmake --build . --config %Configuration% --target check -- /v:m /logger:%MSBuildLogger%
|
||||||
|
Loading…
Reference in New Issue
Block a user