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
|
language: node_js
|
||||||
node_js: "lts/*"
|
node_js: "12"
|
||||||
before_install:
|
before_install:
|
||||||
- npm i -g npm@6.14.6
|
|
||||||
- npm i
|
- npm i
|
||||||
|
|
||||||
env:
|
|
||||||
global:
|
|
||||||
- ELECTRON_CACHE=$HOME/.cache/electron
|
|
||||||
- ELECTRON_BUILDER_CACHE=$HOME/.cache/electron-builder
|
|
||||||
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
include:
|
include:
|
||||||
- stage: Linux & Mac Build
|
- stage: Linux & Mac Build
|
||||||
os: osx
|
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:
|
before_cache:
|
||||||
- rm -rf $HOME/.cache/electron-builder/wine
|
- rm -rf $ELECTRON_BUILDER_CACHE/wine
|
||||||
script:
|
script:
|
||||||
- npm run devInstall:64
|
- npm run devInstall:64
|
||||||
- npm run build
|
- npm run build
|
||||||
- stage: Windows Build
|
- stage: Windows Build
|
||||||
os: windows
|
os: windows
|
||||||
script:
|
script:
|
||||||
|
- export NPM_CONFIG_PREFIX=C:\\npm_prefix
|
||||||
|
- export PATH="/c/npm_prefix:$PATH"
|
||||||
|
- npm i -g npm@latest
|
||||||
- npm run devInstall
|
- npm run devInstall
|
||||||
- npm run build
|
- npm run build
|
||||||
- stage: GitHub Release
|
- stage: GitHub Release
|
||||||
|
@ -36,6 +35,6 @@ jobs:
|
||||||
- builds/lightcord-win32-ia32.zip
|
- builds/lightcord-win32-ia32.zip
|
||||||
- builds/lightcord-win32.exe
|
- builds/lightcord-win32.exe
|
||||||
- builds/lightcord-linux-x64.zip
|
- builds/lightcord-linux-x64.zip
|
||||||
- builds/lightcord-darwin-x64.zip
|
- builds/lightcord-darwin.zip
|
||||||
on:
|
on:
|
||||||
tags: true
|
tags: true
|
||||||
|
|
Loading…
Reference in New Issue