UNPKG

1.01 kBYAMLView 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: "6"
8 - nodejs_version: "8"
9
10branches:
11 only:
12 - master
13 - beta
14 - /^greenkeeper.*$/
15
16# Install scripts. (runs after repo cloning)
17install:
18 - ps: Install-Product node $env:nodejs_version
19 - npm config set spin false
20 - appveyor-retry npm install -g npm@^3
21 - appveyor-retry npm i -g bower # for ember-cli-addon-tests
22 - npm --version
23 - appveyor-retry choco install phantomjs
24 - appveyor-retry yarn --ignore-engines
25 - appveyor-retry yarn add mocha-appveyor-reporter --ignore-engines # must be installed locally.
26
27
28# Post-install test scripts.
29test_script:
30 # Output useful info for debugging.
31 - git rev-parse HEAD
32 # switch to yarn once ember-cli-addon-tests are removed
33 - cmd: npm test
34
35# Don't actually build.
36build: off
37
38# Set build version format here instead of in the admin panel.
39version: "{build}"