/
appveyor.yml
25 lines (21 loc) · 716 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
version: "{build}"
skip_branch_with_pr: true
skip_tags: true
build: off
environment:
matrix:
- nodejs_version: stable
# Install scripts. (runs after repo cloning)
install:
# install Node.js
- ps: Install-Product node $env:nodejs_version
- npm install -g npm@latest
# install modules
- npm install || (7z a logs.zip %APPDATA%/npm-cache/_logs/*.log && appveyor PushArtifact logs.zip)
- bash -c "cd node_modules/nyc && npm i https://github.com/gucong3000/spawn-wrap/archive/shebang-path-space.tar.gz --production"
# to run your custom scripts instead of automatic tests
test_script:
- npm test
# to run your custom scripts instead of provider deployments
after_test:
- npm run report-coverage