should that work ?
This commit is contained in:
parent
b8af18aef6
commit
6eb67a4db5
21
.travis.yml
21
.travis.yml
|
@ -1,28 +1,27 @@
|
|||
language: node_js
|
||||
node_js: "lts/*"
|
||||
node_js: "12"
|
||||
before_install:
|
||||
- npm i -g npm@6.14.6
|
||||
- npm i
|
||||
|
||||
env:
|
||||
global:
|
||||
- ELECTRON_CACHE=$HOME/.cache/electron
|
||||
- ELECTRON_BUILDER_CACHE=$HOME/.cache/electron-builder
|
||||
|
||||
|
||||
jobs:
|
||||
include:
|
||||
- stage: Linux & Mac Build
|
||||
os: osx
|
||||
osx_image: xcode10.1
|
||||
osx_image: xcode10.2
|
||||
env:
|
||||
- ELECTRON_CACHE=$HOME/.cache/electron
|
||||
- ELECTRON_BUILDER_CACHE=$HOME/.cache/electron-builder
|
||||
before_cache:
|
||||
- rm -rf $HOME/.cache/electron-builder/wine
|
||||
- rm -rf $ELECTRON_BUILDER_CACHE/wine
|
||||
script:
|
||||
- npm run devInstall:64
|
||||
- npm run build
|
||||
- stage: Windows Build
|
||||
os: windows
|
||||
script:
|
||||
- export NPM_CONFIG_PREFIX=C:\\npm_prefix
|
||||
- export PATH="/c/npm_prefix:$PATH"
|
||||
- npm i -g npm@latest
|
||||
- npm run devInstall
|
||||
- npm run build
|
||||
- stage: GitHub Release
|
||||
|
@ -36,6 +35,6 @@ jobs:
|
|||
- builds/lightcord-win32-ia32.zip
|
||||
- builds/lightcord-win32.exe
|
||||
- builds/lightcord-linux-x64.zip
|
||||
- builds/lightcord-darwin-x64.zip
|
||||
- builds/lightcord-darwin.zip
|
||||
on:
|
||||
tags: true
|
||||
|
|
Loading…
Reference in New Issue