UNPKG

871 BYAMLView Raw
1# https://www.appveyor.com/docs/appveyor-yml/
2
3image: Visual Studio 2017
4
5# Test against these versions of Node.js.
6environment:
7 MOCHA_REPORTER: "mocha-appveyor-reporter"
8 matrix:
9 - nodejs_version: "8"
10 - nodejs_version: "10"
11 - nodejs_version: "12"
12
13matrix:
14 fast_finish: true
15
16branches:
17 only:
18 - master
19 - beta
20 - release
21
22# Install scripts. (runs after repo cloning)
23install:
24 - ps: Update-NodeJsInstallation (Get-NodeJsLatestBuild $env:nodejs_version)
25 - appveyor-retry npm i -g npm@^4
26 - appveyor-retry yarn
27 - appveyor-retry yarn add mocha-appveyor-reporter # must be installed locally.
28
29cache:
30 - '%LOCALAPPDATA%\Yarn'
31 - '%APPDATA%\Roaming\bower'
32
33# Post-install test scripts.
34test_script:
35 - cmd: yarn test:all
36
37# Don't actually build.
38build: off
39
40# Set build version format here instead of in the admin panel.
41version: "{build}"