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
34
34
only :
35
35
- image : Visual Studio 2019
36
36
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
38
41
# REF: https://github.com/docascode/docfx-seed/blob/master/appveyor.yml
39
42
before_build :
40
43
- pwsh : |
92
95
appveyor_repo_tag : true
93
96
94
97
build_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
97
111
98
112
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