Permalink
Browse files

[Appveyor] PG 9.6

  • Loading branch information...
roji committed Mar 21, 2017
1 parent 1859695 commit ab9e07ed00bd3c159cb493b2740ec3a18b54ac0d
Showing with 7 additions and 7 deletions.
  1. +2 −2 .appveyor.yml
  2. +5 −5 .build/setup-pg.ps1
View
@@ -7,7 +7,7 @@ environment:
NPGSQL_TEST_DB: Host=localhost;Database=postgres;Username=postgres;Password=Password12!
PGUSER: postgres
PGPASSWORD: Password12!
- POSTGIS_EXE: postgis-bundle-pg95x64-setup-2.3.2-1.exe
+ POSTGIS_EXE: postgis-bundle-pg96x64-setup-2.3.2-1.exe
cache:
- '%USERPROFILE%\.nuget\packages -> **\*.csproj'
- 'C:\projects\npgsql\packages -> **\*.csproj' # For VSIX
@@ -18,7 +18,7 @@ install:
services:
- postgresql
before_build:
- - '"C:\Program Files\PostgreSQL\9.5\bin\psql" -c "CREATE EXTENSION postgis"'
+ - '"C:\Program Files\PostgreSQL\9.6\bin\psql" -c "CREATE EXTENSION postgis"'
- appveyor-retry dotnet restore -v Minimal
- appveyor-retry nuget restore Npgsql.sln # For VSIX
build_script:
View
@@ -1,14 +1,14 @@
Write-Host Enabling PostgreSQL prepared transactions...
-Add-Content 'C:\Program Files\PostgreSQL\9.5\data\postgresql.conf' "`nmax_prepared_transactions = 10"
+Add-Content 'C:\Program Files\PostgreSQL\9.6\data\postgresql.conf' "`nmax_prepared_transactions = 10"
Write-Host Enabling PostgreSQL SSL...
-Add-Content 'C:\Program Files\PostgreSQL\9.5\data\postgresql.conf' "`nssl = true"
-Copy-Item .build\server.* "C:\Program Files\PostgreSQL\9.5\data"
+Add-Content 'C:\Program Files\PostgreSQL\9.6\data\postgresql.conf' "`nssl = true"
+Copy-Item .build\server.* "C:\Program Files\PostgreSQL\9.6\data"
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/pg95/$env:POSTGIS_EXE", "$env:POSTGIS_EXE")
+ (New-Object Net.WebClient).DownloadFile("http://download.osgeo.org/postgis/windows/pg96/$env:POSTGIS_EXE", "$env:POSTGIS_EXE")
}
-iex ".\$env:POSTGIS_EXE /S /D='C:\Program Files\PostgreSQL\9.5'"
+iex ".\$env:POSTGIS_EXE /S /D='C:\Program Files\PostgreSQL\9.6'"

0 comments on commit ab9e07e

Please sign in to comment.