blob: 5e283af1e68dbb81168c0c844b60279186a57177 [file] [log] [blame]
Wenzel Jakobfab881c2015-10-18 17:04:24 +02001version: 1.0.{build}
2os: Visual Studio 2015
3clone_folder: C:\projects\pybind11
Wenzel Jakob42af9c22015-10-23 10:21:09 +02004test: off
Huu Nguyen665eeaf2015-12-12 23:02:45 -05005configuration:
6 - Release
7 - Debug
Wenzel Jakobfab881c2015-10-18 17:04:24 +02008branches:
9 only:
10 - master
Wenzel Jakob42af9c22015-10-23 10:21:09 +020011environment:
12 matrix:
13 - CMAKE_PLATFORM: "Visual Studio 14 2015"
14 PYTHON_DIR: "C:\\Python34"
15 - CMAKE_PLATFORM: "Visual Studio 14 2015 Win64"
16 PYTHON_DIR: "C:\\Python34-x64"
Wenzel Jakobfab881c2015-10-18 17:04:24 +020017install:
18 - cinstall: python
19build_script:
20 - echo Running cmake...
21 - cd c:\projects\pybind11
Wenzel Jakob42af9c22015-10-23 10:21:09 +020022 - cmake -G "%CMAKE_PLATFORM%" -DPYTHON_INCLUDE_DIR:PATH=%PYTHON_DIR%/include -DPYTHON_LIBRARY:FILEPATH=%PYTHON_DIR%/libs/python34.lib -DPYTHON_EXECUTABLE:FILEPATH=%PYTHON_DIR%/python.exe
Wenzel Jakobfab881c2015-10-18 17:04:24 +020023 - set MSBuildLogger="C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
Huu Nguyen665eeaf2015-12-12 23:02:45 -050024 - set MSBuildOptions=/v:m /p:Configuration=%Configuration% /logger:%MSBuildLogger%
Wenzel Jakobfab881c2015-10-18 17:04:24 +020025 - msbuild %MSBuildOptions% pybind11.sln
Huu Nguyen665eeaf2015-12-12 23:02:45 -050026 - ctest -C %Configuration%