Travis CI continuous build
current travis setup
Last updated
current travis setup
Last updated
There is no deployment as such as it's electron app, so the build described above serves as a packaging of the app for release.
However As of version 1.0.8
support is added for Linux thanks to , .
On commit to master there is a continuous built setup on Travis CI that builds and adds an up to date linux and mac os x release to the release section .
Inspired by this In the latest iteration it use electron-builder -mwl --publish always
on Travis CI Mac OSX
instance to package for these platforms,
This is an attempt to capture some notes on the steps of setting up travis CI integration in the current implementation
1 - enable Travis CI for your repository as
2 - Set up GITHUB_TOKEN
in Travis CI for this to work. as
(Direct link to )
.travis.yml
file to your repositorypackage.json
added to the the npm scripts
To disable Code Signing when building for macOS leave all the above vars unset except for
CSC_IDENTITY_AUTO_DISCOVERY
which needs to be set tofalse
. This can be done by runningexport CSC_IDENTITY_AUTO_DISCOVERY=false
.
Or you can set in travis settings, for ENVs
Another way — set
mac.identity
tonull
. You can pass additional configuration using CLI as well:-c.mac.identity=null
.
if you skip this the build will fail on travis
more on electron builder here
docs for
github repo