-
Notifications
You must be signed in to change notification settings - Fork 9
/
appveyor.yml
46 lines (38 loc) · 1.21 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
image:
- Visual Studio 2017
# Test agains
environment:
matrix:
- nodejs_version: '8'
access_token:
secure: xl/DOD+43yfh+yw5zLcYazakf8AjgD/1XkDiekFwPY/oBPruovwJQU3n/Lp8h7jE
# Fix line endings in Windows. (runs before repo cloning)
init:
- git config --global core.autocrlf input
# Install scripts--runs after repo cloning
install:
# Install the latest stable version of Node
- ps: Install-Product node $env:nodejs_version x64
- set PATH=%APPDATA%\yarn;%PATH%
- yarn
- yarn bootstrap
- yarn build
- ps: ./scripts/windows-ci-desktop-layout.ps1
# Disable automatic builds
build: off
# Post-install test scripts
test_script:
# Output debugging info
- node --version
- yarn --version
# run tests and run build
- appveyor-retry yarn test integration --runInBand --forceExit
on_failure:
- ps: New-Item -ItemType Directory -Force -Path .\test\integration\__image_snapshots__\__diff_output__
- ps: Get-ChildItem .\test\integration\__image_snapshots__\__diff_output__\*.png | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name }
on_finish:
- ps: ./scripts/appveyor-update-snapshot.ps1
# Cache node_modules for faster builds
cache:
- "%LOCALAPPDATA%\\Yarn"
- node_modules -> package.json