Skip to content

Commit

Permalink
add appveyor
Browse files Browse the repository at this point in the history
  • Loading branch information
mafintosh committed Mar 2, 2018
1 parent 55efe17 commit a318fd3
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ npm install turbo-net
```

[![build status](https://travis-ci.org/mafintosh/turbo-net.svg?branch=master)](https://travis-ci.org/mafintosh/turbo-net)
[![Build status](https://ci.appveyor.com/api/projects/status/1rbh090naan36163/branch/master?svg=true)](https://ci.appveyor.com/project/mafintosh/turbo-net/branch/master)

## Usage

Expand Down
43 changes: 43 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
build: false

skip_branch_with_pr: true

environment:
matrix:
- nodejs_version: "Current"
- nodejs_version: "9"
- nodejs_version: "8"

configuration: Release
platform:
- x86
- x64

install:
- SET PATH=C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin;%PATH%
- ps: Install-Product node $env:nodejs_version $env:platform
- npm install

test_script:
- node --version
- npm --version
- npm test

after_test:
- ps: If ($env:nodejs_version -eq "Current") { npm run prebuild }

artifacts:
- path: prebuilds
name: $(APPVEYOR_REPO_TAG_NAME)-win-$(PLATFORM)
type: zip

deploy:
- provider: GitHub
artifact: /.*\.zip/
draft: false
prerelease: true
auth_token:
secure: Rrnh1ZoAghC7oVlq46X4NNJFi5TKEjy/Z/9IsCKdAjEDPvz2RjeuFLQlHYJUAy60
on:
appveyor_repo_tag: true
nodejs_version: "Current"

0 comments on commit a318fd3

Please sign in to comment.