UNPKG

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