2017-03-29 07:35:32 +02:00
|
|
|
version: 0.0.10.0.{build}
|
2016-12-19 23:48:14 +01:00
|
|
|
image: Visual Studio 2015
|
|
|
|
|
|
|
|
branches:
|
|
|
|
only:
|
2016-12-22 02:34:20 +01:00
|
|
|
- latestw_all
|
|
|
|
- latestw_all_openssl
|
2016-12-19 23:48:14 +01:00
|
|
|
|
|
|
|
init:
|
|
|
|
- ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
|
|
|
|
|
|
|
|
build_script:
|
|
|
|
- ps: |
|
2017-03-24 20:35:52 +01:00
|
|
|
Import-Module $env:APPVEYOR_BUILD_FOLDER\contrib\win32\openssh\AppveyorHelper.psm1 -DisableNameChecking
|
2016-12-19 23:48:14 +01:00
|
|
|
Invoke-AppVeyorBuild
|
|
|
|
|
|
|
|
after_build:
|
|
|
|
- ps: |
|
2017-03-24 20:35:52 +01:00
|
|
|
Import-Module $env:APPVEYOR_BUILD_FOLDER\contrib\win32\openssh\AppveyorHelper.psm1 -DisableNameChecking
|
2016-12-19 23:48:14 +01:00
|
|
|
Install-OpenSSH
|
|
|
|
- ps: Write-Verbose "Restart computer ..."
|
2017-01-27 19:47:20 +01:00
|
|
|
- ps: Restart-Computer -Force
|
2016-12-19 23:48:14 +01:00
|
|
|
- ps: Start-Sleep -s 5 # Needs to be proceeded with -ps: as it's interpreted by AppVeyor
|
2017-01-27 19:47:20 +01:00
|
|
|
- ps: Write-Verbose "Restart computer completed!"
|
2016-12-19 23:48:14 +01:00
|
|
|
|
|
|
|
before_test:
|
|
|
|
- ps: |
|
2017-03-24 20:35:52 +01:00
|
|
|
Import-Module $env:APPVEYOR_BUILD_FOLDER\contrib\win32\openssh\AppveyorHelper.psm1 -DisableNameChecking
|
|
|
|
Setup-OpenSSHTestEnvironment -Quiet
|
2016-12-19 23:48:14 +01:00
|
|
|
|
|
|
|
test_script:
|
2017-01-27 19:47:20 +01:00
|
|
|
- ps: |
|
2017-03-24 20:35:52 +01:00
|
|
|
Import-Module $env:APPVEYOR_BUILD_FOLDER\contrib\win32\openssh\AppveyorHelper.psm1 -DisableNameChecking
|
|
|
|
Run-OpenSSHTests
|
2016-12-19 23:48:14 +01:00
|
|
|
|
|
|
|
after_test:
|
|
|
|
- ps: |
|
2017-03-24 20:35:52 +01:00
|
|
|
Import-Module $env:APPVEYOR_BUILD_FOLDER\contrib\win32\openssh\AppveyorHelper.psm1 -DisableNameChecking
|
2016-12-19 23:48:14 +01:00
|
|
|
Upload-OpenSSHTestResults
|
|
|
|
|
|
|
|
on_finish:
|
|
|
|
- ps: |
|
2017-03-24 20:35:52 +01:00
|
|
|
Import-Module $env:APPVEYOR_BUILD_FOLDER\contrib\win32\openssh\AppveyorHelper.psm1 -DisableNameChecking
|
2016-12-19 23:48:14 +01:00
|
|
|
Publish-Artifact
|