forked from jshint/jshint
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathappveyor.yml
33 lines (26 loc) · 890 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
version: "{build}"
clone_depth: 10
environment:
matrix:
- nodejs_version: 0.10
- nodejs_version: 0.12
- nodejs_version: 4
- nodejs_version: 6
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%" == "6" node scripts/remove-dev-dependencies.js phantom phantomjs-prebuilt
- npm install
build: off
test_script:
- node --version && npm --version
- npm run test-node
- if "%nodejs_version%" == "6" npm run test-browser
- if "%nodejs_version%" == "6" npm run test-262
cache:
- node_modules # local npm modules
matrix:
fast_finish: true