Skip to content

Commit a318fd3

Browse files
committed
add appveyor
1 parent 55efe17 commit a318fd3

File tree

2 files changed

+44
-0
lines changed

2 files changed

+44
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ npm install turbo-net
77
```
88

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

1112
## Usage
1213

appveyor.yml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
build: false
2+
3+
skip_branch_with_pr: true
4+
5+
environment:
6+
matrix:
7+
- nodejs_version: "Current"
8+
- nodejs_version: "9"
9+
- nodejs_version: "8"
10+
11+
configuration: Release
12+
platform:
13+
- x86
14+
- x64
15+
16+
install:
17+
- SET PATH=C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin;%PATH%
18+
- ps: Install-Product node $env:nodejs_version $env:platform
19+
- npm install
20+
21+
test_script:
22+
- node --version
23+
- npm --version
24+
- npm test
25+
26+
after_test:
27+
- ps: If ($env:nodejs_version -eq "Current") { npm run prebuild }
28+
29+
artifacts:
30+
- path: prebuilds
31+
name: $(APPVEYOR_REPO_TAG_NAME)-win-$(PLATFORM)
32+
type: zip
33+
34+
deploy:
35+
- provider: GitHub
36+
artifact: /.*\.zip/
37+
draft: false
38+
prerelease: true
39+
auth_token:
40+
secure: Rrnh1ZoAghC7oVlq46X4NNJFi5TKEjy/Z/9IsCKdAjEDPvz2RjeuFLQlHYJUAy60
41+
on:
42+
appveyor_repo_tag: true
43+
nodejs_version: "Current"

0 commit comments

Comments
 (0)