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