mirror of
				https://github.com/ScoopInstaller/Main.git
				synced 2025-10-31 13:51:18 +00:00 
			
		
		
		
	 ccc24e57b6
			
		
	
	
		ccc24e57b6
		
	
	
	
	
		
			
			Co-authored-by: Jakub Čábera <cabera.jakub@gmail.com> Co-authored-by: Richard Kuhnt <r15ch13+git@gmail.com>
		
			
				
	
	
		
			36 lines
		
	
	
		
			922 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			36 lines
		
	
	
		
			922 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
| version: '{branch}-{build}'
 | |
| branches:
 | |
|   only:
 | |
|   - master
 | |
| build: off
 | |
| deploy: off
 | |
| clone_depth: 2
 | |
| environment:
 | |
|   scoop: C:\projects\scoop
 | |
|   scoop_home: C:\projects\scoop
 | |
|   matrix:
 | |
|     - PowerShell: 5
 | |
|     - PowerShell: 6
 | |
| cache:
 | |
|   - '%USERPROFILE%\Documents\WindowsPowerShell\Modules -> appveyor.yml'
 | |
| init:
 | |
|   - 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:
 | |
|   fast_finish: true
 | |
| 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"
 |