NSubstitute/appveyor.yml

24 строки
447 B
YAML
Исходник Обычный вид История

.NET Core support (#197) * Remove original NSubstitute project * Add dotnet core project * Remove unnecessary meta info * Add Castle.Core as dependency * Move dependencies under dontnet core framework * Upgrade packages versions * Add TypeExtensions based on AutoMapper code * TypeExtensions used * Solve some reflection issues * Solve SerializationInfo and StreamingContext issues * Add Collections.Concurrent package * Seems custom dll worked * Add System.ServiceModel assembly * ConvertAll fix * Remove System.ServiceModel from Net Core * Remove System.Security.Permissions from Net Core * Adjust TypeExtensions class * Not DNXCORE50 condition replaced with NET4 || NET45 * Add FAKEX package to build DNX projects * Add bat script that installs dnvm and the latest runtime * Add draft DNX specific targets * Remove FAKEX tools * Add NSubstitute.NET project based on original project file to be able to test the code * Add TypeExtensions * Define NET35 condition constant * Copy ilmerge.exclude * Tests projects are back :relaxed: * Fixed exception serialization for NET35 * Security and Serialization for NET35 * Finish resolving conflicts * Port changes from "main" csproj file * Update to the latest coreclr version * Hardcode VS version. MSBuild I love you soooo much!!! :cow: :cow: :cow: * Update Runtime * Remove unused csproj * Exclude project.lock file * Ignore project lock * No Serializable in .NET Core * Move .NET Core project to a separate solution file * Resolve merge conflicts * Change CoreCLR version to "stable" one * No restore stage * Remove not used csproj * Build only * Add Merge task * Add a file from the previous merge to the new .NET proj file * Add Castle.Core alpha version * Disable AutoQueryableProvider so far * Remove dll wrapper. It's not needed any more * Bump version to 2.0.0-alpha. Add package details. * Enable Task extensions for .NET Core * AutoTaskProvider is there for .NET Core :hooray: * Enable AutoObservableProvider for beloved .NET Core * AutoQueryableProvider it is. Build works from Visual Studio but not from CLI. MS, I love you sooo f* much. * No more dnx and dnvm. Long live dotnet cli. Please :pray::pray::pray: * Dynamics in Core * Bump the version * Add a runner for the unit tests * Add the Acceptance tests proj to .NET Core * Fixing the build of the acceptance tests proj * Better runner * Yeah, the System.Diagnostics.TraceSource thing, of course * Fix IsSubclassOf for .NET :cow: * Fix dynamics for .NET Core * Enable some tests for .NET Core * Enable tests for .NET Core * Bump the version to alpha003 :boom: * Test runner * Misc. fixes * Fix reflection extensions * Fixing the .NET 4 build * Fix the .NET 3.5 build * Build netstandard1.5 only * Fix namespace * No reason in Configuration. They handled via project.json * Fix the build * Revert the new API asserts * Remove not needed file from .NET Core proj * Remove Program.cs and emitEntryPoint from test app * Fix test: new line char for unix * Fix the leftover conditional * Passes on both Windows and Ubuntu * Add CI scripts * Bump the version to beta * Respond to Castle's NetCore port. Now we don't need to import anything and have pure netcore project. Also fixed the issue introduced by gh-238, i.e. `ExpectedExceptionAttribute` does not exists anymore in `NUnit.Framework`, so I wrapped it in a `Assert.Throws<Exception>`. * Fix artifacts path in appveyor script * FAKE build script for .NET Core * Add a separate csproj for .NET 4 tests because they don't play well with .NET Core. For more details see: https://github.com/dotnet/corefx/issues/4544#issuecomment-230272419 * Update FAKE. Sorry... * Install FAKE.Dotnet * Fixes for .NET Core artifacts * XML docs for .NET Core * Update NuGet * Explicit dependencies for .NET Core * Dependencies appear in nuspec * Update min versions * .gitignore VS and FAKE files * Clean up * Added netstandard1.5 target to build - Added netstandard1.5 as valid target - Skipped NETCORE_TARGETS for tasks that are currently incompatible (such as tests/tests against docs) - Documented build params in "-T" task - Hacked around with FAKE target dependencies to try to selectively build NET/dotnetcore projects based on targets. Had to add "soft dependencies" on Clean and Version to make sure that, if they are being run, they do so prior to build. See [1]. [1]: http://fsharp.github.io/FAKE/soft-dependencies.html * Fixing nuspec data
2016-08-06 15:29:53 +03:00
os: Visual Studio 2015
build: off
environment:
matrix:
- Configuration: Debug
Framework: netcoreapp1.0
- Configuration: Release
Framework: netcoreapp1.0
before_test:
- dotnet --info
- dotnet restore
test_script:
- dotnet test -c %Configuration% -f %Framework% Source/NSubstitute.Acceptance.Specs
after_test:
- dotnet pack -c %Configuration% Source/NSubstitute
artifacts:
path: 'Source/NSubstitute/**/*.nupkg'