forked from n-air-app/n-air-app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
28 lines (23 loc) · 1022 Bytes
/
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
build: off
install:
- ps: Install-Product node 10
- yarn install
- yarn compile:ci
test_script:
- yarn test:unit
- yarn test
# - yarn screentest
# - 7z a screentest.zip test-dist\screentest\*
# - ps: $env:warning_ico = ":warning:"
# - ps: $env:success_ico = ":white_check_mark:"
# - ps: $env:changed_screens = (Get-Content -Raw -Path test-dist\screentest\state.json | ConvertFrom-Json).changedScreens
# - ps: $env:project_link = "https://ci.appveyor.com/project/Streamlabs/streamlabs-obs"
# - ps: If ($env:changed_screens -gt 0) {Add-AppveyorMessage "$env:warning_ico $env:changed_screens screens have been changed $env:project_link/build/$env:APPVEYOR_BUILD_VERSION/artifacts"} else { Add-AppveyorMessage "$env:success_ico no screens changed" }
# artifacts:
# - path: 'screentest.zip'
# name: Screentests
notifications:
- provider: GitHubPullRequest
template: "{{#failed}}:x: build failed{{/failed}} {{#jobs}} {{#messages}} {{message}} {{/messages}} {{/jobs}}"
cache:
- plugins