Skip to content

Instantly share code, notes, and snippets.

@guitarrapc guitarrapc/appveyor.yml
Last active Dec 22, 2018

Embed
What would you like to do?
image: Ubuntu1804
version: '1.0.{build}'
shallow_clone: false
skip_branch_with_pr: true
branches:
only:
- master
environment:
PS_GELLERY_RELEASE_API:
secure: xBR5JNFYMUisp+oIx08EbfQ5xWsToa0XufJKuyaazeXy9wYcs6Fezw//NtW60uOF
GITHUB_RELEASE_API:
secure: s55znS9PHRv9SOXWiAmrxjj9c166WrBKTFz7cQmA0wLp9tGzREudX8XmaqbQH3YT
GUID: 11da18bb-f0d4-4509-b709-8b17efd8bb17
install:
- pwsh --version
- pwsh -c Install-Module Pester -Scope CurrentUser -Force
build: off
build_script:
- cd $APPVEYOR_BUILD_FOLDER
- pwsh -file ./run_build.ps1 -Version ${APPVEYOR_BUILD_VERSION}
- 7z a ./publish/Utf8BomHeader_${APPVEYOR_BUILD_VERSION}.zip ./publish/Utf8BomHeader/
test_script:
- cd $APPVEYOR_BUILD_FOLDER
- pwsh -c "Invoke-Pester -OutputFormat NUnitXml -OutputFile testresult.xml -CodeCoverage src/Utf8BomHeader.psm1"
- find "$APPVEYOR_BUILD_FOLDER" -type f -name 'testresult.xml' -print0 | xargs -0 -I '{}' curl -F 'file=@{}' "https://ci.appveyor.com/api/testresults/nunit/$APPVEYOR_JOB_ID"
deploy_script:
- pwsh -file ./run_psgallery_deploy.ps1 -NuGetApiKey ${PS_GELLERY_RELEASE_API} -BuildBranch master
artifacts:
- path: ./publish/Utf8BomHeader_${APPVEYOR_BUILD_VERSION}.zip
name: Utf8BomHeader_${APPVEYOR_BUILD_VERSION}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.