f26e8c2ae0
This has one important packaging change: the netstandard version now depends (implicitly) on netstandard1.6.1 rather than on individual packages. This is the preferred style of dependency, and shouldn't affect any users - see http://stackoverflow.com/questions/42946951 for details. The tests are still NUnit, but NUnit doesn't support "dotnet test" yet; the test project is now an executable using NUnitLite. (When NUnit supports dotnet test, we can adapt to it.) Note that the project will now only work in Visual Studio 2017 (and Visual Studio Code, and from the command line with the .NET Core 1.0.0 SDK); Visual Studio 2015 does *not* support this project file format.
45 lines
1.2 KiB
YAML
45 lines
1.2 KiB
YAML
# 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
|
|
UNICODE: ON
|
|
|
|
- language: csharp
|
|
image: Visual Studio 2017
|
|
|
|
# Our build scripts run tests automatically; we don't want AppVeyor
|
|
# to try to detect them itself.
|
|
test: off
|
|
|
|
install:
|
|
- curl -L -o release-1.7.0.zip https://github.com/google/googlemock/archive/release-1.7.0.zip
|
|
- 7z x release-1.7.0.zip
|
|
- del /Q release-1.7.0.zip
|
|
- rename googlemock-release-1.7.0 gmock
|
|
- curl -L -o release-1.7.0.zip "https://github.com/google/googletest/archive/release-1.7.0.zip"
|
|
- 7z x release-1.7.0.zip
|
|
- del /Q release-1.7.0.zip
|
|
- rename googletest-release-1.7.0 gtest
|
|
- move gtest gmock
|
|
|
|
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\].*/
|