generated from ScoopInstaller/BucketTemplate
-
Notifications
You must be signed in to change notification settings - Fork 26
/
.appveyor.yml
50 lines (50 loc) · 1.48 KB
/
.appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
skip_commits:
files:
- '**/*.md'
- '.vscode/**/*'
- '.github/**/*'
cache:
- '%USERPROFILE%\Documents\WindowsPowerShell\Modules -> .appveyor.yml, test\bin\*.ps1'
- C:\projects\helpers -> .appveyor.yml, test\bin\*.ps1
matrix:
fast_finish: true
build: 'off'
image: Visual Studio 2019
environment:
SCOOP: C:\projects\scoop
SCOOP_HOME: C:\projects\scoop\apps\scoop\current
SCOOP_HELPERS: C:\projects\helpers
LESSMSI: '%scoop_helpers%\lessmsi\lessmsi.exe'
INNOUNP: '%scoop_helpers%\innounp\innounp.exe'
matrix:
- PowerShell: 5
# - PowerShell: 6
init:
- ps: |
(Get-PSProvider 'FileSystem').Home = 'C:\projects\'
if(!(Test-Path "$env:SCOOP_HOME")) {
git clone -q --depth=1 -b v0.3.0 'https://github.com/lukesampson/scoop' "$env:SCOOP_HOME"
git clone -q --depth=1 'https://github.com/ScoopInstaller/Main' "$env:SCOOP\buckets\main"
}
for:
- 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"
# - matrix:
# only:
# - PowerShell: 6
# install:
# - pwsh: . "$env:SCOOP_HOME\test\bin\init.ps1"
# test_script:
# - pwsh: . "$env:SCOOP_HOME\test\bin\test.ps1" -TestPath "$env:APPVEYOR_BUILD_FOLDER"
on_finish:
- ps: |
$log = 'Install.log'
if (Test-Path $log) {
Get-Content $log -Raw | Write-Host
Push-AppveyorArtifact $log
}