File tree Expand file tree Collapse file tree 2 files changed +19
-5
lines changed Expand file tree Collapse file tree 2 files changed +19
-5
lines changed Original file line number Diff line number Diff line change 44
55version : ' {build}'
66
7- stack : postgresql
7+ stack : postgresql 13.4
88
99environment :
1010 PGUSER : postgres
3434 only :
3535 - image : Visual Studio 2019
3636 services :
37- - postgresql101
37+ - postgresql134
38+ # https://help.appveyor.com/discussions/problems/30239-postgres-fails-to-connect-after-version-change
39+ init :
40+ - net start postgresql-x64-13
3841 # REF: https://github.com/docascode/docfx-seed/blob/master/appveyor.yml
3942 before_build :
4043 - pwsh : |
9295 appveyor_repo_tag : true
9396
9497build_script :
95- - pwsh : dotnet --version
96- - pwsh : .\Build.ps1
98+ - pwsh : |
99+ Write-Output ".NET version:"
100+ dotnet --version
101+
102+ Write-Output "PostgreSQL version:"
103+ if ($IsWindows) {
104+ . "${env:ProgramFiles}\PostgreSQL\13\bin\psql" --version
105+ }
106+ else {
107+ psql --version
108+ }
109+
110+ .\Build.ps1
97111
98112test : off
Original file line number Diff line number Diff line change @@ -9,4 +9,4 @@ docker run --rm --name jsonapi-dotnet-core-testing `
99 - e POSTGRES_USER= postgres `
1010 - e POSTGRES_PASSWORD= postgres `
1111 - p 5432 :5432 `
12- postgres:12.0
12+ postgres:13.4
You can’t perform that action at this time.
0 commit comments