forked from thiagoelg/node-printer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
51 lines (40 loc) · 1.07 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
# appveyor file
# build version format
version: "{build}"
platform:
- x64
- x86
image: Visual Studio 2015
# Set a known clone folder
clone_folder: c:\p
# fix lineendings in Windows
init:
- git config --global core.autocrlf input
- git config --global user.name "Thiago Lugli"
- git config --global user.email thiagoelg@gmail.com
environment:
UTO:
secure: x7hTGMqkrEgGiJOYv8dDmwXfey7rYHQ6IlRPF7y9PY3Xyj6WxMOEvxQrAMY53DdE
matrix:
fast_finish: true
install:
- ps: Install-Product node 14 $env:PLATFORM
- cmd: SET PATH=c:\python27;%PATH%
- cmd: SET JOBS=4
- cmd: SET BUILD_ONLY=true
- cmd: npm ci --build-from-source
- cmd: npm install -g prebuild
- cmd: if %PLATFORM% EQU x86 (SET TP=ia32) else (set TP=x64)
- cmd: prebuild --strip -r electron --all --arch %TP% -u %UTO%
- cmd: prebuild --strip -r node-webkit --all --arch %TP% -u %UTO%
- cmd: prebuild --strip --all --arch %TP% -u %UTO%
test_script:
- node --version
- npm --version
build: off
branches:
only:
- master
cache:
- '%APPDATA%\npm-cache'
- '%USERPROFILE%\.node-gyp'