/
appveyor.yml
46 lines (39 loc) · 1.01 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
platform:
- x64
cache:
# - node_modules
# - '%APPDATA%\npm-cache'
- '%USERPROFILE%\.electron'
init:
- git config --global core.autocrlf input
install:
- ps: Install-Product node 8 x64
- git reset --hard HEAD
- npm install npm -g
- npm install --silent
- npm run lint
test_script:
- node --version
- npm --version
- npm test
build_script:
- npm run build
- .\node_modules\.bin\gulp build_plugins
- cd .\dist\win-ia32-unpacked\resources\app\node_modules\
- npm pack .\electron-vibrancy
- cd ..\..\..\..\win-unpacked\resources\app\node_modules\
- npm pack .\electron-vibrancy
artifacts:
- path: dist\*.exe
name: installer
- path: dist\*.7z
name: Archive
- path: dist\*.7z
name: Archive
- path: dist\win-ia32-unpacked\resources\app\node_modules\electron-vibrancy*.tgz
name: electron-vibrancy-prebuilt-ia32
- path: dist\win-unpacked\resources\app\node_modules\electron-vibrancy*.tgz
name: electron-vibrancy-prebuilt-x64
branches:
except:
- /^v\d+\.\d+\.\d+.*/