Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 18 additions & 4 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ image:

version: '{build}'

stack: postgresql
stack: postgresql 13.4

environment:
PGUSER: postgres
Expand Down Expand Up @@ -34,7 +34,10 @@ for:
only:
- image: Visual Studio 2019
services:
- postgresql101
- postgresql134
# https://help.appveyor.com/discussions/problems/30239-postgres-fails-to-connect-after-version-change
init:
- net start postgresql-x64-13
# REF: https://github.com/docascode/docfx-seed/blob/master/appveyor.yml
before_build:
- pwsh: |
Expand Down Expand Up @@ -92,7 +95,18 @@ for:
appveyor_repo_tag: true

build_script:
- pwsh: dotnet --version
- pwsh: .\Build.ps1
- pwsh: |
Write-Output ".NET version:"
dotnet --version

Write-Output "PostgreSQL version:"
if ($IsWindows) {
. "${env:ProgramFiles}\PostgreSQL\13\bin\psql" --version
}
else {
psql --version
}

.\Build.ps1

test: off
2 changes: 1 addition & 1 deletion run-docker-postgres.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ docker run --rm --name jsonapi-dotnet-core-testing `
-e POSTGRES_USER=postgres `
-e POSTGRES_PASSWORD=postgres `
-p 5432:5432 `
postgres:12.0
postgres:13.4