UNPKG

772 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: "8"
8
9branches:
10 only:
11 - master
12
13# Install scripts. (runs after repo cloning)
14install:
15 - ps: Install-Product node $env:nodejs_version
16 - appveyor-retry npm i -g npm@^4
17 - appveyor-retry yarn
18 - appveyor-retry yarn add mocha-appveyor-reporter # must be installed locally.
19
20cache:
21 - '%LOCALAPPDATA%\Yarn'
22 - '%APPDATA%\Roaming\bower'
23
24# Post-install test scripts.
25test_script:
26 # Output useful info for debugging.
27 - git rev-parse HEAD
28 - cmd: yarn run test:all
29
30# Don't actually build.
31build: off
32
33# Set build version format here instead of in the admin panel.
34version: "{build}"