Travis CI continuous build
current travis setup
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 @probonopd, #36.
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 under release section.
Inspired by this issue 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
github + Travis CI
Travis CI Integration
1 - enable Travis CI for your repository as described here
2 - Set up GITHUB_TOKEN
in Travis CI for this to work. as described here
(Direct link to Github token here)
Add a .travis.yml
file to your repository
.travis.yml
file to your repositorypackage.json
package.json
added to the the npm scripts
Skipping Code signing on Travis
docs for Code Signing - electron-builder
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
Electron builder documentation
more on electron builder here
github repo electron-userland/electron-builder
Last updated