forked from OCram85/PSCredentialStore
Marco Blessing
fdc6651588
## About ## Content (Micro Commits) * fixes #38 * fixes #44 * Implement precise lookup hierarchy (fixes #43) * align pester test with #43 logic * split cert functions * use new cert functions for save an lookup * fix pester tests * [wip] * fix var name ref * fix exports * fix cert store location for windows shared mode * fix mandatory params * fix accidentially removed code block * add basic cert pester pests * remove old docs * update cbh blocks * update cbh blocks * update docs * move .net wrapper forpfx files * do not export .net wrapper functions * update docs * rename tests * fix private functions location * - fixes #44: FTP connection * add link to reference * add format files * add preview version shield * update markdown help files (platyps) * add emoji images in captions * fix typos * fix typos * fix typo * prepare version numbers
74 lines
2.1 KiB
YAML
74 lines
2.1 KiB
YAML
# pre release version:
|
|
version: 1.0.{build}
|
|
|
|
#branches:
|
|
# only:
|
|
# - master
|
|
# - dev
|
|
# - debug
|
|
|
|
skip_tags: true
|
|
|
|
#image: WMF 5
|
|
# Test ne build image:
|
|
image: Visual Studio 2017
|
|
|
|
# Install pester module and init the Appveyor support.
|
|
|
|
# Enable RDP connection for debugging
|
|
#init:
|
|
# - ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
|
|
|
|
install:
|
|
- ps: Import-Module .\tools\AppVeyor.psm1
|
|
- ps: Invoke-InstallDependencies
|
|
|
|
environment:
|
|
NuGetToken:
|
|
secure: 835qfZIkC9mE7QhkYfOZVAdR8rZhPvxG8BO4CbeaelRQOhlqmaSr8G1DWRJzZ/bS
|
|
CoverallsToken:
|
|
secure: eTjWqHL48MBr8wp1rSgLrXHdtpfDV/uClacP3svlWJfCvn/zVokpuaMnWM5RoyIY
|
|
|
|
build: false
|
|
|
|
before_build:
|
|
- ps: Invoke-AppVeyorBumpVersion
|
|
|
|
build_script:
|
|
- ps: Invoke-AppVeyorBuild
|
|
|
|
test_script:
|
|
- ps: |
|
|
$CodeCoverage = Invoke-AppVeyorTests
|
|
if ($null -ne $Env:CoverallsToken) {
|
|
Invoke-CoverageReport -PesterCoverageReport $CodeCoverage
|
|
}
|
|
else {
|
|
Write-Warning "No CoverallsToken found. This build seems to be triggered by a PR. Skipping this step..."
|
|
}
|
|
|
|
deploy:
|
|
#- provider: GitHub
|
|
# auth_token:
|
|
# secure: M+bBX5/nKdJB0eViP7xtrLVTwf3vGDUA9N2MMprZp2i+9ZR3CBVcJnSzJWUmalhB
|
|
# artifact: PSCredentialStore.zip # upload all NuGet packages to release assets
|
|
# draft: true
|
|
# prerelease: true
|
|
# on:
|
|
# branch: dev
|
|
- provider: GitHub
|
|
auth_token:
|
|
secure: M+bBX5/nKdJB0eViP7xtrLVTwf3vGDUA9N2MMprZp2i+9ZR3CBVcJnSzJWUmalhB
|
|
artifact: PSCredentialStore.zip # upload all NuGet packages to release assets
|
|
draft: false
|
|
prerelease: true
|
|
on:
|
|
branch: master # build release on master branch changes
|
|
|
|
after_deploy:
|
|
- ps: Invoke-AppVeyorPSGallery -OnBranch 'master'
|
|
|
|
# Pause build until `lock` on desktop is deleted.
|
|
#on_finish:
|
|
# - ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
|