Skip to content

Commit

Permalink
Update CI for PostgreSQL 11.1, PostGIS 2.5.1 (#822)
Browse files Browse the repository at this point in the history
  • Loading branch information
austindrenski authored Feb 19, 2019
1 parent e94d4a7 commit 028316b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
image: Visual Studio 2017
version: 3.0.0-{build}
services:
- postgresql101
- postgresql111
environment:
global:
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
DOTNET_CLI_TELEMETRY_OPTOUT: 1
Test__Npgsql__DefaultConnection: Host=localhost;Database=postgres;Username=postgres;Password=Password12!
PGUSER: postgres
PGPASSWORD: Password12!
POSTGIS_EXE: postgis-bundle-pg10x64-setup-2.5.0-1.exe
POSTGIS_EXE: postgis-bundle-pg11x64-setup-2.5.1-1.exe
NoPackageAnalysis: true # Suppresses warning about SemVer 2.0.0 version suffixes when packing
cache:
- '%USERPROFILE%\.nuget\packages -> **\*.csproj'
Expand Down
6 changes: 4 additions & 2 deletions .build/setup_appveyor.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,11 @@
Write-Host Enabling PostGIS...
If (!(Test-Path $env:POSTGIS_EXE)) {
Write-Host Downloading PostGIS...
(New-Object Net.WebClient).DownloadFile("http://download.osgeo.org/postgis/windows/pg10/$env:POSTGIS_EXE", "$env:POSTGIS_EXE")
(New-Object Net.WebClient).DownloadFile("http://download.osgeo.org/postgis/windows/pg11/$env:POSTGIS_EXE", "$env:POSTGIS_EXE")
}
iex ".\$env:POSTGIS_EXE /S /D='C:\Program Files\PostgreSQL\10'"
ls '/Program Files/PostgreSQL'
net start postgresql-x64-11;
iex ".\$env:POSTGIS_EXE /S /D='C:\Program Files\PostgreSQL\11'"

########################
## Set version variables
Expand Down

0 comments on commit 028316b

Please sign in to comment.