forked from jshint/jshint
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
35 lines (28 loc) · 925 Bytes
/
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
version: "{build}"
clone_depth: 10
environment:
matrix:
- nodejs_version: 0.10
- nodejs_version: 0.12
- nodejs_version: 4
- nodejs_version: 6
- nodejs_version: 8
- nodejs_version: 10
install:
- ps: Install-Product node $env:nodejs_version
- git submodule update --init --recursive
# These packages cannot be installed in legacy versions of Node.js. Because
# they are only needed to verify correctness in a browser-like environment,
# they can be removed (and the tests skipped) without effecting coverage.
- if NOT "%nodejs_version%" == "10" node scripts/remove-dev-dependencies.js puppeteer
- npm install
build: off
test_script:
- node --version && npm --version
- npm run test-node
- if "%nodejs_version%" == "10" npm run test-browser
- if "%nodejs_version%" == "10" npm run test-262
cache:
- node_modules # local npm modules
matrix:
fast_finish: true