@@ -3,22 +3,26 @@ environment:
33 CLI_VERSION : latest
44 DOTNET_CLI_TELEMETRY_OPTOUT : 1
55 DOTNET_SKIP_FIRST_TIME_EXPERIENCE : true
6- # DOCUMENT_DB_URI: https://localhost:8081
7- # DOCUMENT_DB_KEY: C2y6yDjf5/R+ob0N8A7Cgv30VRDJIWEHLM+4QDU5DE2nQ9nDuVTqobD4b8mGGyPMbIZnqyMsEcaGQy67XIw/Jw==
6+ DOCUMENT_DB_URI : https://localhost:8081
7+ DOCUMENT_DB_KEY : C2y6yDjf5/R+ob0N8A7Cgv30VRDJIWEHLM+4QDU5DE2nQ9nDuVTqobD4b8mGGyPMbIZnqyMsEcaGQy67XIw/Jw==
88image : Visual Studio 2017
99configuration :
1010 - Release
1111skip_tags : true
12- # install:
13- # - ps: Start-Process "C:\Program Files\Azure Cosmos DB Emulator\CosmosDB.Emulator.exe" -ArgumentList "/NoExplorer","/NoUI","/NoFirewall"
14- # - ps: Start-Sleep -s 15
12+ install :
13+ - cmd : wmic product where name="Azure Cosmos DB Emulator" call uninstall
14+ - ps : Start-FileDownload "https://aka.ms/cosmosdb-emulator" -FileName "C:\Azure Cosmos DB.Emulator.msi"
15+ - cmd : cmd /c start /wait msiexec /i "C:\Azure Cosmos DB.Emulator.msi" /qn /quiet /norestart /log install.log
16+ - ps : $DebugPreference = 'Continue'
17+ - ps : Import-Module "C:\Program Files\Azure Cosmos DB Emulator\PSModules\Microsoft.Azure.CosmosDB.Emulator"
18+ - ps : Start-CosmosDbEmulator -NoUI -Timeout 0
1519before_build :
1620 - dotnet restore
1721build_script :
1822 - msbuild /p:GetVersion=True /p:WriteVersionInfoToBuildLog=True
1923test_script :
2024 - dotnet test test/Winton.DomainModelling.DocumentDb.Tests/ --no-build --configuration Release
21- # - dotnet test test/Winton.DomainModelling.DocumentDb.IntegrationTests/ --no-build --configuration Release
25+ - dotnet test test/Winton.DomainModelling.DocumentDb.IntegrationTests/ --no-build --configuration Release
2226artifacts :
2327- path : .\**\*.nupkg
2428 name : NuGet
@@ -31,8 +35,4 @@ deploy:
3135 on :
3236 branch :
3337 - master
34- - /release\/[0-9]\.[0-9]/
35-
36- # ##############################################################################################################################
37- # Commented lines can be uncommented to run integration tests once AppVeyor images have updated to CosmosDB Emulator >= 2.0.0 #
38- # ##############################################################################################################################
38+ - /release\/[0-9]\.[0-9]/
0 commit comments