Skip to content

Commit

Permalink
add appveyor.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
vweevers committed Nov 8, 2016
1 parent 5a2a31b commit dea1a2b
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ LevelDOWN
**A Low-level Node.js LevelDB binding**

[![Build Status](https://secure.travis-ci.org/Level/leveldown.png)](http://travis-ci.org/Level/leveldown)
[![AppVeyor build status](https://img.shields.io/appveyor/ci/Level/leveldown.svg)](https://ci.appveyor.com/project/Level/leveldown)
[![dependencies](https://david-dm.org/Level/leveldown.svg)](https://david-dm.org/level/leveldown)

[![NPM](https://nodei.co/npm/leveldown.png?stars&downloads&downloadRank)](https://nodei.co/npm/leveldown/) [![NPM](https://nodei.co/npm-dl/leveldown.png?months=6&height=3)](https://nodei.co/npm/leveldown/)
Expand Down
30 changes: 30 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
version: "{build}"
build: off
shallow_clone: true
skip_tags: true

environment:
matrix:
- nodejs_version: "0.12"
- nodejs_version: "4"
- nodejs_version: "5"
- nodejs_version: "6"
- nodejs_version: "7"

platform:
- x86
- x64

install:
- ps: Install-Product node $env:nodejs_version $env:platform
- npm -g i npm@latest
- set PATH=%APPDATA%\npm;%APPVEYOR_BUILD_FOLDER%\node_modules\.bin;%PATH%
- npm i --ignore-scripts
- for /f %%i in ('node -v') do set exact_nodejs_version=%%i
- prebuild -b %exact_nodejs_version% --strip

test_script:
- npm test

on_success:
- for %%i in (prebuilds\*) do appveyor PushArtifact %%i

0 comments on commit dea1a2b

Please sign in to comment.