Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable CI platforms to build Linux, Windows and OS X releases (#63)
- Loading branch information
1 parent
1c164bb
commit 433d619
Showing
8 changed files
with
8,062 additions
and
40 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
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 |
---|---|---|
|
@@ -5,6 +5,8 @@ coverage | |
.nyc_output | ||
|
||
/build | ||
dist/ | ||
/release | ||
|
||
deployment/*.retry | ||
|
||
/yarn-error.log |
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,31 @@ | ||
matrix: | ||
include: | ||
- os: osx | ||
osx_image: xcode9.0 | ||
language: node_js | ||
node_js: "8" | ||
env: | ||
- ELECTRON_CACHE=$HOME/.cache/electron | ||
- ELECTRON_BUILDER_CACHE=$HOME/.cache/electron-builder | ||
|
||
cache: | ||
directories: | ||
- node_modules | ||
- $HOME/.cache/electron | ||
- $HOME/.cache/electron-builder | ||
|
||
install: | ||
- npm install | ||
|
||
script: | ||
- npm run pack | ||
- zip mac-release.zip release/Plotly\ Graph\ Exporter* | ||
|
||
before_cache: | ||
- rm -rf $HOME/.cache/electron-builder/wine | ||
|
||
addons: | ||
artifacts: | ||
s3_region: us-east-1 | ||
paths: mac-release.zip | ||
debug: true |
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,33 @@ | ||
version: 0.1.{build} | ||
|
||
environment: | ||
matrix: | ||
- nodejs_version: 8 | ||
|
||
platform: | ||
- x64 | ||
|
||
#services: | ||
|
||
cache: | ||
- node_modules | ||
- '%LOCALAPPDATA%\electron\Cache' | ||
- '%LOCALAPPDATA%\electron-builder\cache' | ||
|
||
init: | ||
- git config --global core.autocrlf input | ||
|
||
install: | ||
- ps: Install-Product node $env:nodejs_version $env:platform | ||
|
||
build_script: | ||
- npm run pack | ||
|
||
after_build: | ||
- 7z a release.zip release/latest.yml release/*.exe | ||
|
||
artifacts: | ||
- path: release.zip | ||
name: release | ||
|
||
test: off |
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
Oops, something went wrong.