-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
executable file
·43 lines (43 loc) · 2.01 KB
/
.travis.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
sudo: required
language: node_js
node_js:
- '4'
before_install:
- sudo add-apt-repository -y ppa:wine/wine-builds && sudo apt-get update && sudo apt-get install -y --install-recommends winehq-devel
- cd app && npm install
- npm install electron-packager -g
- cd ..
- electron-packager app/ --platform=linux --arch=x64
- electron-packager app/ --platform=linux --arch=ia32
- electron-packager app/ --platform=darwin --arch=x64
- electron-packager app/ --platform=win32 --arch=x64
- electron-packager app/ --platform=win32 --arch=ia32
- ls
- tar -zcvf fontman-desktop-linux-x64.tar.gz fontman-desktop-linux-x64
- tar -zcvf fontman-desktop-linux-ia32.tar.gz fontman-desktop-linux-ia32
- tar -zcvf fontman-desktop-darwin-x64.tar.gz fontman-desktop-darwin-x64
- zip -r fontman-desktop-win32-ia32.zip fontman-desktop-win32-ia32
- zip -r fontman-desktop-win32-x64.zip fontman-desktop-win32-x64
- ls
script: echo "done"
deploy:
overwrite: true
provider: releases
skip_cleanup: true
file:
- fontman-desktop-darwin-x64.tar.gz
- fontman-desktop-linux-x64.tar.gz
- fontman-desktop-linux-ia32.tar.gz
- fontman-desktop-win32-ia32.zip
- fontman-desktop-win32-x64.zip
on:
tags: true
all_branches: true
repo: fontman/fontman-desktop
api-key:
secure: N9IU2xYJQBMuf9Ay828WCGs/zZJgRwcd+MeDjFt0AySqv5FTo4JxEL8DgG0URxj9Gd+GRttNHVEL7ajPdPq9Hnm7+lkr5wP8A8DDtu5Ir3JPtN2TWkBX27QDJsU74ZyuTslgTsu7sI4dRI47p0r/TLWdpRuFEnkKIwaXuTawpSDWF1wxr4BlzXZrP6GdUEK6cFMESbcMeA+d6CjZt824XHLQT8HCBfMrz8fK+LfQerm0pxdQF8sFFhqzRS2r5yzDSg0YMdmwCE5d10F/TG/tutbSkD37MZaghDTPYzlpe+rwkf5A6Tvr1ETR0TXicqQzNet2xg4Ilm38QvAn3vHQwmUd+LlfZ4B/lNkbEf1amnp6IPzisWzEP4DrvAY2AOYxxD/3Np4sV372JOzK+TiKwLAnOMUb9AECJzS2AR2ezIH6RwPjyihmVdR7EyyUP/Xz2HzaH3thKLdlkVLxvqUifK/ElFycFUnAOCbOu3mn834bgkdgL28tnzOuUCXCTCJITbwqBjcjkKUZvRUqZGtfkMJo6DEfeOGwyOAREXwDX9bHdjQyYih9JhgX5g5fZyq44GVlAvD9KFqX3VdOeVNAT9qqb1lFQVwHlwCjQVgUv3mCN+pFEG3BNmb757sAI0Rfc1ohYsqWLqa8t0raG9Tk3evFuljmE7orlFlMGlHkHuI=
env:
global:
- WINEDLLOVERRIDES="mscoree,mshtml="
- WINEDEBUG="-all"
- DEBUG=electron-packager