Two stage build
This commit is contained in:
parent
55df912131
commit
01f3db55dd
27
.travis.yml
27
.travis.yml
@ -4,11 +4,21 @@ dist: xenial
|
||||
language: node_js
|
||||
node_js:
|
||||
- 10.15.3
|
||||
matrix:
|
||||
jobs:
|
||||
include:
|
||||
- os: osx
|
||||
- os: windows
|
||||
- os: linux
|
||||
- stage: Build binaries
|
||||
os: osx
|
||||
workspaces:
|
||||
create:
|
||||
name: osx-binaries
|
||||
os: windows
|
||||
workspaces:
|
||||
create:
|
||||
name: win-binaries
|
||||
os: linux
|
||||
workspaces:
|
||||
create:
|
||||
name: linux-binaries
|
||||
cache:
|
||||
directories:
|
||||
- node_modules
|
||||
@ -22,9 +32,16 @@ install:
|
||||
- npm install
|
||||
script:
|
||||
- npm run build
|
||||
deploy:
|
||||
- stage: Deploy
|
||||
workspaces:
|
||||
use:
|
||||
- linux-binaries
|
||||
- osx-binaries
|
||||
- win-binaries
|
||||
deploy:
|
||||
skip_cleanup: true
|
||||
overwrite: true
|
||||
draft: true
|
||||
name: '0.0.15'
|
||||
provider: releases
|
||||
api_key:
|
||||
|
Loading…
Reference in New Issue
Block a user