forked from KhalisFoundation/sttm-desktop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
32 lines (32 loc) · 880 Bytes
/
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
os: unstable
branches:
only:
- release
skip_non_tags: true
cache:
- node_modules
- '%USERPROFILE%\.electron'
environment:
GH_TOKEN:
secure: YnpSJBnaHBEg7du/NqieQRj7Dyp87cH+l8dxFpoaGtPFBhh9t/Lnq9pjMghP1Qf8
matrix:
- nodejs_version: 6
install:
- git clone https://github.com/khalisfoundation/sttm-core.git www/core
- ps: $fileContent = "-----BEGIN RSA PRIVATE KEY-----`n"
- ps: $fileContent += $env:priv_key.Replace(' ', "`n")
- ps: $fileContent += "`n-----END RSA PRIVATE KEY-----`n"
- ps: Set-Content packaging\id_rsa $fileContent
- ps: Install-Product node $env:nodejs_version
- set CI=true
- npm install -g npm@latest yarn
- set PATH=%APPDATA%\npm;%PATH%
- npm install
matrix:
fast_finish: true
build: off
version: '{build}'
shallow_clone: true
clone_depth: 1
test_script:
- npm run test && npm run dist:win && npm run dist:win32