-
Notifications
You must be signed in to change notification settings - Fork 4
/
appveyor.yml
45 lines (39 loc) · 1.11 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
version: '{branch} #{build}'
environment:
matrix:
# node.js
- nodejs_version: "10"
- nodejs_version: "8"
- nodejs_version: "6.9"
- nodejs_version: "4.4"
- nodejs_version: "0.12"
# Cache some things so that the build runs faster
cache:
- node_modules
# Install scripts. (runs after repo cloning)
install:
# Get the latest stable version of Node.js or io.js
- ps: Install-Product node $env:nodejs_version
# install modules -- this won't do much on cached builds
- npm install
# prune stuff that is not needed, in case no-longer-used
# cache files are available
- npm prune
# run an upgrade, to update outdated cached libs
- npm upgrade
# Post-install test scripts.
test_script:
# Output useful info for debugging.
- node --version
- npm --version
# Set colors, because
- set FORCE_COLOR=1
- npm test
# scripts to run after tests
after_test:
- npm run coverage
- set CODECLIMATE_REPO_TOKEN=08120a5f6442a389a93094fd9f5f25099e912f4807936ff46f85234037ca9585
- npm run cov-report
# Don't actually build.
# No idea what this does, but it was in the example file
build: off