mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-01 14:21:19 +00:00
Update appveyor.yml
This commit is contained in:
parent
501ec9895c
commit
3a0748651f
45
appveyor.yml
45
appveyor.yml
@ -1,35 +1,40 @@
|
|||||||
version: '{branch}-{build}'
|
version: "{build}-{branch}"
|
||||||
branches:
|
branches:
|
||||||
only:
|
except:
|
||||||
- master
|
- gh-pages
|
||||||
build: off
|
build: off
|
||||||
deploy: off
|
deploy: off
|
||||||
clone_depth: 2
|
clone_depth: 2
|
||||||
|
image:
|
||||||
|
- Visual Studio 2017
|
||||||
environment:
|
environment:
|
||||||
scoop: C:\projects\scoop
|
scoop: C:\projects\scoop
|
||||||
scoop_home: C:\projects\scoop
|
scoop_home: C:\projects\scoop
|
||||||
|
scoop_helpers: C:\projects\helpers
|
||||||
|
lessmsi: '%scoop_helpers%\lessmsi\lessmsi.exe'
|
||||||
|
innounp: '%scoop_helpers%\innounp\innounp.exe'
|
||||||
matrix:
|
matrix:
|
||||||
- PowerShell: 5
|
- PowerShell: 5
|
||||||
- PowerShell: 6
|
- PowerShell: 6
|
||||||
cache:
|
cache:
|
||||||
- '%USERPROFILE%\Documents\WindowsPowerShell\Modules -> appveyor.yml'
|
- '%USERPROFILE%\Documents\WindowsPowerShell\Modules -> appveyor.yml'
|
||||||
init:
|
- C:\projects\helpers -> appveyor.yml, test\bin\*.ps1
|
||||||
- ps: (Get-PSProvider 'FileSystem').Home = 'C:\projects\'
|
|
||||||
- ps: if(!(Test-Path "$env:SCOOP")) { git clone -q --depth=1 "https://github.com/lukesampson/scoop" "$env:SCOOP" }
|
|
||||||
matrix:
|
matrix:
|
||||||
fast_finish: true
|
fast_finish: true
|
||||||
|
init:
|
||||||
|
- ps: if(!(Test-Path "$env:SCOOP")) { git clone -q --depth=1 "https://github.com/lukesampson/scoop" "$env:SCOOP" }
|
||||||
for:
|
for:
|
||||||
- matrix:
|
- matrix:
|
||||||
only:
|
only:
|
||||||
- PowerShell: 5
|
- PowerShell: 5
|
||||||
install:
|
install:
|
||||||
- ps: . "$env:SCOOP_HOME\test\bin\init.ps1"
|
- ps: . "$env:SCOOP_HOME\test\bin\init.ps1"
|
||||||
test_script:
|
test_script:
|
||||||
- ps: . "$env:SCOOP_HOME\test\bin\test.ps1" -TestPath "$env:APPVEYOR_BUILD_FOLDER"
|
- ps: . "$env:SCOOP_HOME\test\bin\test.ps1" -TestPath "$env:APPVEYOR_BUILD_FOLDER"
|
||||||
- matrix:
|
- matrix:
|
||||||
only:
|
only:
|
||||||
- PowerShell: 6
|
- PowerShell: 6
|
||||||
install:
|
install:
|
||||||
- pwsh: . "$env:SCOOP_HOME\test\bin\init.ps1"
|
- pwsh: . "$env:SCOOP_HOME\test\bin\init.ps1"
|
||||||
test_script:
|
test_script:
|
||||||
- pwsh: . "$env:SCOOP_HOME\test\bin\test.ps1" -TestPath "$env:APPVEYOR_BUILD_FOLDER"
|
- pwsh: . "$env:SCOOP_HOME\test\bin\test.ps1" -TestPath "$env:APPVEYOR_BUILD_FOLDER"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user