This repository has been archived by the owner on Dec 19, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
581e768
commit 4e84d4b
Showing
6 changed files
with
1,796 additions
and
19,121 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
|
||
if: tag IS present | ||
tags: true | ||
all_branches: true | ||
condition: $TRAVIS_TAG =~ ^v[0-9]+\.[0-9]+\.[0-9]+ | ||
|
||
matrix: | ||
include: | ||
- os: osx | ||
osx_image: xcode10 | ||
language: node_js | ||
node_js: "10" | ||
env: | ||
- ELECTRON_CACHE=$HOME/.cache/electron | ||
- ELECTRON_BUILDER_CACHE=$HOME/.cache/electron-builder | ||
|
||
- os: linux | ||
services: docker | ||
language: generic | ||
|
||
cache: | ||
directories: | ||
- node_modules | ||
- $HOME/.cache/electron | ||
- $HOME/.cache/electron-builder | ||
|
||
script: | ||
- | | ||
if [ "$TRAVIS_OS_NAME" == "linux" ]; then | ||
docker run --rm \ | ||
--env-file <(env | grep -v '\r' | grep -iE 'DEBUG|NODE_|ELECTRON_|YARN_|NPM_|CI|CIRCLE|TRAVIS|APPVEYOR_|CSC_|_TOKEN|_KEY|AWS_|STRIP|BUILD_') \ | ||
-v ${PWD}:/project \ | ||
-v ~/.cache/electron:/root/.cache/electron \ | ||
-v ~/.cache/electron-builder:/root/.cache/electron-builder \ | ||
electronuserland/builder:wine \ | ||
/bin/bash -c ' CI=false yarn --link-duplicates --pure-lockfile && CI=false yarn run release --publish onTag --linux --win' | ||
else | ||
CI=false yarn run release --publish onTag | ||
fi | ||
before_cache: | ||
- rm -rf $HOME/.cache/electron-builder/wine | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
appId: cyb | ||
productName: cyb | ||
compression: normal | ||
|
||
directories: | ||
output: dist | ||
buildResources: ./ | ||
app: . | ||
|
||
|
||
publish: | ||
provider: github | ||
releaseType: release | ||
|
||
# Mac builds | ||
########################################################### | ||
mac: | ||
artifactName: ${name}-${version}-${os}-${arch}.${ext} | ||
category: public.app-category.productivity | ||
icon: ./assets/icon/logo_cyb_512x512.png | ||
target: | ||
- target: dmg | ||
- target: zip | ||
|
||
|
||
# Linux builds | ||
########################################################### | ||
linux: | ||
artifactName: ${name}-${version}-${os}-${arch}.${ext} | ||
icon: ./assets/icon/logo_cyb_512x512.png | ||
synopsis: cyb | ||
description: Web 3 Browser | ||
category: WebBrowser | ||
target: | ||
- target: deb | ||
- target: tar.gz | ||
|
||
|
||
# Win builds | ||
########################################################### | ||
win: | ||
artifactName: ${name}-${version}-${os}-${arch}.${ext} | ||
icon: ./icons/icon-512x512.png | ||
target: | ||
- target: nsis | ||
|
||
nsis: | ||
artifactName: ${name}-${version}-${os}-${arch}.${ext} |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.