* Add FTPS client tests

* Upgrade PostgreSQL to 9.6

* Use default service for PostgresSQL
This commit is contained in:
zosrothko 2017-09-28 17:07:04 +02:00 committed by Aleksandar Fabijanic
parent 378548fc33
commit 6046dd62cb
2 changed files with 9 additions and 9 deletions

View File

@ -5,7 +5,7 @@ cache:
- C:\ProgramData\chocolatey
- C:\OpenSSL-Win32
- C:\OpenSSL-Win64
- C:\Program Files (x86)\PostgreSQL\9.4
- C:\Program Files (x86)\PostgreSQL\9.6
branches:
@ -33,7 +33,7 @@ services:
# Server name: localhost
# Server port: 5432
# postgres account password: Password12!
- postgresql94
- postgresql
image:
@ -59,8 +59,8 @@ environment:
MYSQL32ZIP: mysql-5.7.18-win32.zip
MYSQL32: C:\mysql-5.7.18-win32
MYSQL64: C:\Program Files\MySql\MySQL Server 5.7
POSTGRES32: C:\Program Files (x86)\PostgreSQL\9.4
POSTGRES64: C:\Program Files\PostgreSQL\9.4
POSTGRES32: C:\Program Files (x86)\PostgreSQL\9.6
POSTGRES64: C:\Program Files\PostgreSQL\9.6
OPENSSLURL: https://slproweb.com/download
OPENSSL32EXE: Win32OpenSSL-1_1_0f.exe
OPENSSL64EXE: Win64OpenSSL-1_1_0f.exe
@ -240,14 +240,14 @@ install:
{
Write-Host "Installing $env:POSTGRES32 ..." -ForegroundColor Cyan
Write-Host "Downloading..."
$exePath = "$($env:USERPROFILE)\postgresql-9.4.5-1-windows.exe"
(New-Object Net.WebClient).DownloadFile('http://get.enterprisedb.com/postgresql/postgresql-9.4.5-1-windows.exe', $exePath)
$exePath = "$($env:USERPROFILE)\postgresql-9.6.5-1-windows.exe"
(New-Object Net.WebClient).DownloadFile('http://get.enterprisedb.com/postgresql/postgresql-9.6.5-1-windows.exe', $exePath)
Write-Host "Installing..."
cmd /c start /wait $exePath --mode unattended --superpassword Password12!
del $exePath
Write-Host "Setting up services..."
Stop-Service postgresql-9.4
Set-Service -Name postgresql-9.4 -StartupType Manual
Stop-Service postgresql-9.6
Set-Service -Name postgresql-9.6 -StartupType Manual
Write-Host "$env:POSTGRES32 installed" -ForegroundColor Green
}
}

@ -1 +1 @@
Subproject commit 26b1673caad94a702b6d694f48f917a283b30777
Subproject commit af3dfc6ca786061640f55618b022aa4a62dffb2e