forked from tojocky/node-printer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
60 lines (47 loc) · 1.16 KB
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# appveyor file
# build version format
version: "{build}"
platform: x64
image: Visual Studio 2015
# Set a known clone folder
clone_folder: c:\projects\node-printer
# fix lineendings in Windows
init:
- git config --global core.autocrlf input
- git config --global user.name "Ion Lupascu"
- git config --global user.email [email protected]
# what combinations to test
environment:
matrix:
# Node.js
- nodejs_version: "0.10"
- nodejs_version: "0.12"
- nodejs_version: "4.4"
- nodejs_version: "5.8"
- nodejs_version: "6.9"
build_electron: "true"
matrix:
fast_finish: true
allow_failures:
- nodejs_version: "0.10"
# Get the latest stable version of Node 0.STABLE.latest
install:
- ps: Install-Product node $env:nodejs_version x64
- cmd: SET PATH=c:\python27;%PATH%
- cmd: SET JOBS=4
- cmd: SET BUILD_ONLY=true
- npm install -g node-gyp node-pre-gyp
- npm install --build-from-source --msvs_version=2013
test_script:
- node --version
- npm --version
- npm test
after_test:
- node-gyp clean
- ps: ./tools/buildWindows.ps1
build: off
artifacts:
- path: 'build\stage\**\*.tar.gz'
branches:
only:
- master