Skip to content

Commit

Permalink
Merge pull request #61 from prebuild/appveyor
Browse files Browse the repository at this point in the history
adds appveyor config
  • Loading branch information
ralphtheninja committed Jan 28, 2018
2 parents 59917dd + f3c998e commit 2f2cae1
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
@@ -1,6 +1,7 @@
# prebuild-install

[![Build Status](https://travis-ci.org/prebuild/prebuild-install.svg?branch=master)](https://travis-ci.org/prebuild/prebuild-install)
[![Build status](https://ci.appveyor.com/api/projects/status/6v6hxxwgjrr99pc8/branch/master?svg=true)](https://ci.appveyor.com/project/mathiask88/prebuild-install)
[![david](https://david-dm.org/prebuild/prebuild-install.svg)](https://david-dm.org/prebuild/prebuild-install)
[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)](http://standardjs.com/)

Expand Down
44 changes: 44 additions & 0 deletions appveyor.yml
@@ -0,0 +1,44 @@
# http://www.appveyor.com/docs/appveyor-yml

# Don't actually build
build: off

# Skip tag builds
skip_tags: true

# Set build version format
version: "{build}"

# Set up build environment
environment:
# Test against these versions of Node.js
matrix:
- nodejs_version: "9"
- nodejs_version: "8"
- nodejs_version: "7"
- nodejs_version: "6"
- nodejs_version: "5"
- nodejs_version: "4"

# Build on both platforms
platform:
- x86
- x64

# Install scripts (runs after repo cloning)
install:
# Get the latest version of $env:nodejs_version
- ps: Update-NodeJsInstallation (Get-NodeJsLatestBuild $env:nodejs_version) $env:platform
# Update to latest npm
- npm -g install npm 2>&1>nul
- SET PATH=%APPDATA%\npm;%PATH%
# Output useful info for debugging
- node --version
- npm --version
# Install modules
- npm install

# Post-install test scripts
test_script:
# Run module tests
- npm test

0 comments on commit 2f2cae1

Please sign in to comment.