-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
35 lines (29 loc) · 1.06 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
# AppVeyor configuration file
# https://www.appveyor.com/docs/appveyor-yml
# Be aware of https://github.com/nodejs/LTS when choosing versions to test
# Update engines.node in package.json if removing old versions.
environment:
matrix:
- nodejs_version: "10"
# Empty version installs most recent version available
- nodejs_version: ""
# If the package has arch-dependent features, uncomment this.
#platform:
# - x86
# - x64
install:
- ps: Install-Product node $env:nodejs_version $(if ($env:PROCESSOR_ARCHITECTURE -eq 'AMD64') {'x64'} else {$env:PROCESSOR_ARCHITECTURE})
# Ignore package-lock.json. This is done for a few reasons:
# - To test against current versions of dependencies.
# - To test installability for dependents (doesn't use package-lock.json).
- if exist package-lock.json del package-lock.json
- npm install
test_script:
- node --version
- npm --version
- npm run test-ci
# Disable build step, which we don't need
build: off
# If any job fails, fail build immediately to avoid wasting time/resources.
matrix:
fast_finish: true