Skip to content

Commit

Permalink
chore(tests): add AppVeyor support
Browse files Browse the repository at this point in the history
  • Loading branch information
malept committed Dec 11, 2016
1 parent 9981fcb commit da47884
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 1 deletion.
29 changes: 29 additions & 0 deletions .appveyor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
platform:
- x86
- x64
environment:
nodejs_version: "6"
matrix:
- node_installer: npm
- node_installer: yarn
cache:
- '%APPDATA%\npm-cache'
- '%USERPROFILE%\.electron'
branches:
only:
- master

install:
- ps: Install-Product node $env:nodejs_version $env:platform
- npm install -g npm@4
- npm install -g yarn
- set PATH=%APPDATA%\npm;%PATH%
- npm install

test_script:
- node --version
- npm --version
- yarn --version
- npm test -- --installer=$env:node_installer

build: off
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
Electron Forge
--------------
[![Build Status](https://travis-ci.org/electron-userland/electron-forge.svg?branch=master)](https://travis-ci.org/electron-userland/electron-forge)
[![Linux/macOS Build Status](https://travis-ci.org/electron-userland/electron-forge.svg?branch=master)](https://travis-ci.org/electron-userland/electron-forge)
[![Windows Build status](https://ci.appveyor.com/api/projects/status/79ae80nek1eucyy3?svg=true)](https://ci.appveyor.com/project/electron-userland/electron-forge)
[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/)
[![npm version](https://badge.fury.io/js/electron-forge.svg)](https://www.npmjs.com/package/electron-forge)
[![npm](https://img.shields.io/npm/dt/electron-forge.svg?maxAge=2592000)](https://www.npmjs.com/package/electron-forge)
Expand Down

0 comments on commit da47884

Please sign in to comment.