ci: improvements on travis release config

This commit is contained in:
Fabio 2020-08-06 10:20:36 +02:00
parent a9d3a57281
commit 968ec1edf7
3 changed files with 12 additions and 17085 deletions

2
.gitignore vendored
View File

@ -6,4 +6,4 @@ thumbs.db
.vscode
TODO.md
*.txt
dev-app-update.yml
package-lock.json

View File

@ -1,5 +1,3 @@
sudo: false
language: node_js
node_js: 12
@ -24,17 +22,17 @@ jobs:
- stage: Test
script:
- npm test
- stage: Deploy Windows & Mac
if: tag IS present
os: osx
osx_image: xcode10.1
script:
- npm run build -- --mac --win -p always
before_cache:
- rm -rf $HOME/.cache/electron-builder/wine
- stage: Deploy linux
- stage: Deploy Linux & Windows
if: tag IS present
os: linux
dist: trusty
services: docker
script:
- npm run build -- --linux -p always
- docker run --rm --env-file <(env | grep -iE 'DEBUG|NODE_|ELECTRON_|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 "npm run build -- --linux --win -p always"
before_cache:
- rm -rf $HOME/.cache/electron-builder/wine
- stage: Deploy Mac
if: tag IS present
os: osx
osx_image: xcode10.2
script:
- npm run build -- -p always

17071
package-lock.json generated

File diff suppressed because it is too large Load Diff