Skip to content
This repository was archived by the owner on Jan 27, 2022. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 11 additions & 11 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,26 @@ environment:
CLI_VERSION: latest
DOTNET_CLI_TELEMETRY_OPTOUT: 1
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
# DOCUMENT_DB_URI: https://localhost:8081
# DOCUMENT_DB_KEY: C2y6yDjf5/R+ob0N8A7Cgv30VRDJIWEHLM+4QDU5DE2nQ9nDuVTqobD4b8mGGyPMbIZnqyMsEcaGQy67XIw/Jw==
DOCUMENT_DB_URI: https://localhost:8081
DOCUMENT_DB_KEY: C2y6yDjf5/R+ob0N8A7Cgv30VRDJIWEHLM+4QDU5DE2nQ9nDuVTqobD4b8mGGyPMbIZnqyMsEcaGQy67XIw/Jw==
image: Visual Studio 2017
configuration:
- Release
skip_tags: true
#install:
# - ps: Start-Process "C:\Program Files\Azure Cosmos DB Emulator\CosmosDB.Emulator.exe" -ArgumentList "/NoExplorer","/NoUI","/NoFirewall"
# - ps: Start-Sleep -s 15
install:
- cmd: wmic product where name="Azure Cosmos DB Emulator" call uninstall
- ps: Start-FileDownload "https://aka.ms/cosmosdb-emulator" -FileName "C:\Azure Cosmos DB.Emulator.msi"
- cmd: cmd /c start /wait msiexec /i "C:\Azure Cosmos DB.Emulator.msi" /qn /quiet /norestart /log install.log
- ps: $DebugPreference = 'Continue'
- ps: Import-Module "C:\Program Files\Azure Cosmos DB Emulator\PSModules\Microsoft.Azure.CosmosDB.Emulator"
- ps: Start-CosmosDbEmulator -NoUI -Timeout 0
before_build:
- dotnet restore
build_script:
- msbuild /p:GetVersion=True /p:WriteVersionInfoToBuildLog=True
test_script:
- dotnet test test/Winton.DomainModelling.DocumentDb.Tests/ --no-build --configuration Release
# - dotnet test test/Winton.DomainModelling.DocumentDb.IntegrationTests/ --no-build --configuration Release
- dotnet test test/Winton.DomainModelling.DocumentDb.IntegrationTests/ --no-build --configuration Release
artifacts:
- path: .\**\*.nupkg
name: NuGet
Expand All @@ -31,8 +35,4 @@ deploy:
on:
branch:
- master
- /release\/[0-9]\.[0-9]/

###############################################################################################################################
# Commented lines can be uncommented to run integration tests once AppVeyor images have updated to CosmosDB Emulator >= 2.0.0 #
###############################################################################################################################
- /release\/[0-9]\.[0-9]/
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@

<ItemGroup>
<PackageReference Include="GitVersionTask" Version="4.0.0-beta0012" PrivateAssets="All" />
<PackageReference Include="Microsoft.Azure.DocumentDB.Core" Version="2.1.1" />
<PackageReference Include="Microsoft.Azure.DocumentDB.Core" Version="2.1.3" />
<PackageReference Include="StyleCop.Analyzers" Version="1.0.2" PrivateAssets="All" />
<PackageReference Include="Winton.DomainModelling.Abstractions" Version="1.1.0" />
</ItemGroup>
Expand Down