Set up continuous integration using Azure Pipelines

master
Hugo Locurcio 2018-12-02 22:43:27 +01:00
parent 2fe700cefe
commit 00a64eabc8
No known key found for this signature in database
GPG Key ID: 39E8F8BE30B0A49C
2 changed files with 25 additions and 0 deletions

21
.azure-pipelines.yml Normal file
View File

@ -0,0 +1,21 @@
# Copyright © 2018 Hugo Locurcio and contributors - CC0 1.0 Universal
# See `LICENSE.md` included in the source distribution for details.
jobs:
# Installs and uninstalls every package in the bucket
# This is done to ensure URLs used in manifests are still functional
- job: test
condition: eq(variables['Build.Reason'], 'Schedule')
pool:
vmImage: vs2017-win2016
steps:
- powershell: |
# Install Scoop
Set-ExecutionPolicy RemoteSigned -scope CurrentUser
iex (new-object net.webclient).downloadstring('https://get.scoop.sh')
# Install packages
Get-ChildItem *.json | Foreach-Object {
scoop install "$($_.BaseName).json"
scoop uninstall "$($_.BaseName)"
}

View File

@ -19,3 +19,7 @@ end_of_line = crlf
[[Mm]akefile{,.*}]
# TAB-style indentation
indent_style = tab
[*.yml]
end_of_line = lf
indent_size = 2