@@ -3,22 +3,27 @@ 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 : Remove-Item -Path "C:\Program Files\Azure Cosmos DB Emulator" -Recurse
15+ - ps : Start-FileDownload "https://aka.ms/cosmosdb-emulator" -FileName "C:\Azure Cosmos DB.Emulator.msi"
16+ - cmd : cmd /c start /wait msiexec /i "C:\Azure Cosmos DB.Emulator.msi" /qn /quiet /norestart /log install.log
17+ - ps : $DebugPreference = 'Continue'
18+ - ps : Import-Module "C:\Program Files\Azure Cosmos DB Emulator\PSModules\Microsoft.Azure.CosmosDB.Emulator"
19+ - ps : Start-CosmosDbEmulator -NoUI -Timeout 0
1520before_build :
1621 - dotnet restore
1722build_script :
1823 - msbuild /p:GetVersion=True /p:WriteVersionInfoToBuildLog=True
1924test_script :
2025 - dotnet test test/Winton.DomainModelling.DocumentDb.Tests/ --no-build --configuration Release
21- # - dotnet test test/Winton.DomainModelling.DocumentDb.IntegrationTests/ --no-build --configuration Release
26+ - dotnet test test/Winton.DomainModelling.DocumentDb.IntegrationTests/ --no-build --configuration Release
2227artifacts :
2328- path : .\**\*.nupkg
2429 name : NuGet
@@ -31,8 +36,4 @@ deploy:
3136 on :
3237 branch :
3338 - 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- # ##############################################################################################################################
39+ - /release\/[0-9]\.[0-9]/
0 commit comments