UNPKG

671 BYAMLView Raw
1# Fix line endings in Windows. (runs before repo cloning)
2init:
3 - git config --global core.autocrlf input
4
5# Test against these versions of Node.js.
6environment:
7 matrix:
8 - nodejs_version: "9"
9 - nodejs_version: "8"
10 - nodejs_version: "6"
11
12# Install scripts. (runs after repo cloning)
13install:
14 # Get the latest stable version of Node.js or io.js
15 - ps: Install-Product node $env:nodejs_version
16 # install modules
17 - npm install
18 - npm install codecov
19
20# Post-install test scripts.
21test_script:
22 # Output useful info for debugging.
23 - node --version
24 - npm --version
25 # run tests
26 - npm test
27 - npm run codecov
28
29# Don't actually build.
30build: off