forked from bcoin-org/bcrypto
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathappveyor.yml
More file actions
34 lines (27 loc) · 695 Bytes
/
appveyor.yml
File metadata and controls
34 lines (27 loc) · 695 Bytes
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
image: Visual Studio 2017
platform:
- x64
environment:
nodejs_version: "Current"
shallow_clone: true
# 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 $env:platform
# install modules
- if not exist "node_modules" npm install
# Post-install test scripts.
test_script:
# Output useful info for debugging.
- node --version
- npm --version
- node -e "console.log(require('../bcrypto').native)"
# run tests
- npm test
# Don't actually build.
build: off
cache:
- build -> src
- node_modules -> package.json
- '%UserProfile%\.node-gyp'
- '%AppData%\npm-cache'