2015-12-12 01:09:20 +00:00
|
|
|
# Only test one combination: "Visual Studio 12 + Win64 + Debug + DLL". We can
|
|
|
|
# test more combinations but AppVeyor just takes too long to finish (each
|
|
|
|
# combination takes ~15mins).
|
|
|
|
platform:
|
|
|
|
- Win64
|
|
|
|
|
|
|
|
configuration:
|
|
|
|
- Debug
|
|
|
|
|
|
|
|
environment:
|
|
|
|
matrix:
|
|
|
|
- language: cpp
|
|
|
|
BUILD_DLL: ON
|
2016-08-19 22:25:54 +00:00
|
|
|
UNICODE: ON
|
2015-12-12 01:09:20 +00:00
|
|
|
|
|
|
|
- language: csharp
|
2017-05-04 07:51:46 +00:00
|
|
|
image: Visual Studio 2017
|
2015-12-12 01:09:20 +00:00
|
|
|
|
2016-07-14 21:01:47 +00:00
|
|
|
# Our build scripts run tests automatically; we don't want AppVeyor
|
|
|
|
# to try to detect them itself.
|
|
|
|
test: off
|
|
|
|
|
2015-12-12 01:09:20 +00:00
|
|
|
install:
|
2016-09-23 22:46:48 +00:00
|
|
|
- curl -L -o release-1.7.0.zip https://github.com/google/googlemock/archive/release-1.7.0.zip
|
2016-08-25 21:34:45 +00:00
|
|
|
- 7z x release-1.7.0.zip
|
|
|
|
- del /Q release-1.7.0.zip
|
|
|
|
- rename googlemock-release-1.7.0 gmock
|
2016-09-23 22:46:48 +00:00
|
|
|
- curl -L -o release-1.7.0.zip "https://github.com/google/googletest/archive/release-1.7.0.zip"
|
2016-08-25 21:34:45 +00:00
|
|
|
- 7z x release-1.7.0.zip
|
|
|
|
- del /Q release-1.7.0.zip
|
|
|
|
- rename googletest-release-1.7.0 gtest
|
|
|
|
- move gtest gmock
|
2015-12-12 01:09:20 +00:00
|
|
|
|
|
|
|
before_build:
|
|
|
|
- if %platform%==Win32 set generator=Visual Studio 12
|
|
|
|
- if %platform%==Win64 set generator=Visual Studio 12 Win64
|
|
|
|
- if %platform%==Win32 set vcplatform=Win32
|
|
|
|
- if %platform%==Win64 set vcplatform=x64
|
|
|
|
|
|
|
|
build_script:
|
|
|
|
- CALL appveyor.bat
|
|
|
|
|
|
|
|
skip_commits:
|
|
|
|
message: /.*\[skip appveyor\].*/
|