thedesk/.travis.yml

38 lines
2.0 KiB
YAML
Raw Normal View History

2019-01-28 01:53:33 +11:00
os: windows
2019-01-27 23:09:30 +11:00
language: node_js
node_js:
2019-01-27 23:17:40 +11:00
- '9.9.0'
2019-01-28 04:41:58 +11:00
script: node -v
2019-01-27 23:17:40 +11:00
before_deploy:
- cd app
2019-01-28 00:19:31 +11:00
- npm install electron -g
2019-01-28 03:54:20 +11:00
- npm install electron-packager -g
2019-01-27 23:32:35 +11:00
- npm install electron-builder -g
- npm install
2019-01-28 02:11:53 +11:00
- npm install --global --production windows-build-tools@4.0.0
2019-01-28 00:07:51 +11:00
- npm install --save-dev electron-rebuild
2019-01-28 02:20:33 +11:00
- .\\node_modules\\.bin\\electron-rebuild.cmd
2019-01-28 00:07:51 +11:00
- electron-builder --win --ia32
2019-01-28 04:40:15 +11:00
- mv ../build/TheDesk-setup*.exe ../build/output/TheDesk-setup-ia32.exe
- mv ../build/TheDesk*.exe ../build/output/TheDesk-ia32.exe
2019-01-28 01:53:33 +11:00
- electron-builder --win --x64
2019-01-28 04:40:15 +11:00
- mv ../build/TheDesk-setup*.exe ../build/output/TheDesk-setup.exe
- mv ../build/TheDesk*.exe ../build/output/TheDesk.exe
2019-01-28 02:33:28 +11:00
- electron-packager ./ TheDesk --executable-name="TheDesk" --app-copyright="Copyright (c) TheDesk 2018 Cutls.com 2015 All Right Reserved" --platform=linux --arch=x64,ia32 --electron-version=3.0.10 --overwrite
2019-01-28 01:53:33 +11:00
- 7z a TheDesk-linux-x64.zip TheDesk-linux-x64
- 7z a TheDesk-linux-ia32.zip TheDesk-linux-ia32
2019-01-28 02:33:28 +11:00
- cd ../
2019-01-27 23:07:11 +11:00
deploy:
provider: releases
api_key:
secure: jndR02p5KRTtcJk18b3YsXL2cC+yzEf1AOqXdpWciF8f3lO5oY01jlxd17xdHIcK7VywSsLVZpLToSdqAoIEhJ5OxEQ/FmA3FlmbwwD6ou13gLa4VGIvsBHveCmKGjVu0Z++atIy76tZYU1SOWFWv4B0ZhnVz2ca2VZynvLgw3YNsPJH7rHO966GXgRkGYJAJ4UvLg3sj/iztVh2FSfbUj5IGO1e/JHJO63wAo1MSQtRjkutVgl/djnBLC6vbL4YHkM3Ynpkx/YQEcxwrmeY0Ra8D5yYDq4MNIDMmZahWC+k4u2eA2Cj2ifBFNxbZvTN75vLwRBp6DsTNHsiqkXrSPDBdNeet31RbwTQ6LtsK8jqmL4S/59dmLcj7uCU2WxyBLPbJdbdZWlqW2ZQvfQY8QVAYy7S3MiHQWQN0oP5wqXk89jcgR42ig/zsqFNPpXHM4mExR7l/gDLPg0j9c3XEF6sWtk3FmJN1i4+B+9kn09b6UKlV7EFPKp8XcFNrz4ZcE9/I8lKwsqLVG2jAXIk7Z9LwDRcAmK5eG348X5zwFtOY6raKIvRw2cn92bPnEI+55v8A4WANS2647GFTgxHj30D0d/sOZmJ5BS34zpdWTgE0AlKg7sOqkncjqoW5J5zCh5Ow7b3KXvEvlAts44mAag8tZTectxMP4iguXvTnv4=
2019-01-28 00:07:51 +11:00
file:
2019-01-28 04:40:15 +11:00
- "./build/output/TheDesk.exe"
- "./build/output/TheDesk-setup.exe"
- "./build/output/TheDesk-ia32.exe"
- "./build/output/TheDesk-setup-ia32.exe"
- "./build/output/TheDesk-setup-ia32.exe"
2019-01-28 00:07:51 +11:00
- "TheDesk-linux-x64.zip"
2019-01-27 23:07:11 +11:00
on:
repo: cutls/TheDesk
2019-01-27 23:17:40 +11:00
skip_cleanup: true