Skip to content

Commit e84e794

Browse files
author
Bart Koelman
committed
Updated PostgreSQL to v13.4 and log its version.
Consolidated shell invocations into one, which is a bit faster.
1 parent 2469928 commit e84e794

File tree

2 files changed

+16
-5
lines changed

2 files changed

+16
-5
lines changed

appveyor.yml

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ image:
44

55
version: '{build}'
66

7-
stack: postgresql
7+
stack: postgresql 13.4
88

99
environment:
1010
PGUSER: postgres
@@ -34,7 +34,7 @@ for:
3434
only:
3535
- image: Visual Studio 2019
3636
services:
37-
- postgresql101
37+
- postgresql134
3838
# REF: https://github.com/docascode/docfx-seed/blob/master/appveyor.yml
3939
before_build:
4040
- pwsh: |
@@ -92,7 +92,18 @@ for:
9292
appveyor_repo_tag: true
9393

9494
build_script:
95-
- pwsh: dotnet --version
96-
- pwsh: .\Build.ps1
95+
- pwsh: |
96+
Write-Output ".NET version:"
97+
dotnet --version
98+
99+
Write-Output "PostgreSQL version:"
100+
if ($IsWindows) {
101+
. "${env:ProgramFiles}\PostgreSQL\13\bin\psql" --version
102+
}
103+
else {
104+
psql --version
105+
}
106+
107+
.\Build.ps1
97108
98109
test: off

run-docker-postgres.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)