2022-03-05 16:28:57 -08:00
|
|
|
version: "{build}-{branch}"
|
2019-10-14 13:54:39 -07:00
|
|
|
|
|
|
|
branches:
|
|
|
|
except:
|
|
|
|
- gh-pages
|
|
|
|
|
|
|
|
build: off
|
|
|
|
deploy: off
|
2022-03-05 16:28:57 -08:00
|
|
|
clone_depth: 2
|
2019-10-14 13:54:39 -07:00
|
|
|
|
2022-07-10 16:17:03 -07:00
|
|
|
image: Visual Studio 2022
|
2019-10-14 13:54:39 -07:00
|
|
|
|
|
|
|
environment:
|
|
|
|
scoop: C:\projects\scoop
|
|
|
|
scoop_home: C:\projects\scoop
|
2019-10-17 03:20:14 -07:00
|
|
|
scoop_helpers: C:\projects\helpers
|
|
|
|
lessmsi: '%scoop_helpers%\lessmsi\lessmsi.exe'
|
|
|
|
innounp: '%scoop_helpers%\innounp\innounp.exe'
|
2019-10-14 13:54:39 -07:00
|
|
|
matrix:
|
2022-07-10 16:17:03 -07:00
|
|
|
# - PowerShell: 5
|
2022-03-05 16:49:50 -08:00
|
|
|
- PowerShell: 7
|
2019-10-14 13:54:39 -07:00
|
|
|
|
|
|
|
cache:
|
|
|
|
- '%USERPROFILE%\Documents\WindowsPowerShell\Modules -> appveyor.yml'
|
2022-03-05 16:28:57 -08:00
|
|
|
- C:\projects\helpers -> appveyor.yml, test\bin\*.ps1
|
2019-10-14 13:54:39 -07:00
|
|
|
matrix:
|
|
|
|
fast_finish: true
|
|
|
|
|
|
|
|
init:
|
2022-03-05 16:28:57 -08:00
|
|
|
- ps: if(!(Test-Path "$env:SCOOP")) { git clone -q --depth=1 "https://github.com/ScoopInstaller/Scoop" "$env:SCOOP" }
|
2019-10-14 13:54:39 -07:00
|
|
|
for:
|
2022-07-10 16:17:03 -07:00
|
|
|
# - matrix:
|
|
|
|
# only:
|
|
|
|
# - PowerShell: 5
|
|
|
|
# install:
|
|
|
|
# - ps: . "$env:SCOOP_HOME\test\bin\init.ps1"
|
|
|
|
# test_script:
|
|
|
|
# - ps: . "$env:SCOOP_HOME\test\bin\test.ps1" -TestPath "$env:APPVEYOR_BUILD_FOLDER"
|
2019-10-17 02:42:02 -07:00
|
|
|
- matrix:
|
|
|
|
only:
|
2022-03-05 16:49:50 -08:00
|
|
|
- PowerShell: 7
|
2019-10-17 02:42:02 -07:00
|
|
|
install:
|
|
|
|
- pwsh: . "$env:SCOOP_HOME\test\bin\init.ps1"
|
|
|
|
test_script:
|
|
|
|
- pwsh: . "$env:SCOOP_HOME\test\bin\test.ps1" -TestPath "$env:APPVEYOR_BUILD_FOLDER"
|