Electron github travis CI & linux2018 Jul 18
How to setup github for your electron project to have a linux Continuos integration build
This is an attempt to capture some notes on the steps of setting up travis CI integration.
What is an AppImage
AppImages can be downloaded and run without installation or the need for root rights.
Making it executable
You can make the appImage executable as follows:
chmod a+x exampleName.AppImage
You can execute an appImage as follows:
Providing an AppImage would have, among others, these advantages:
- Applications packaged as an AppImage can run on many distributions (including Ubuntu, Fedora, openSUSE, CentOS, elementaryOS, Linux Mint, and others)
- One app = one file = super simple for users: just download one AppImage file, make it executable, and run
- No unpacking or installation necessary
- No root needed
- No system libraries changed
- Works out of the box, no installation of runtimes needed
- Optional desktop integration with
- Optional binary delta updates, e.g., for continuous builds (only download the binary diff) using AppImageUpdate
- Can optionally GPG2-sign your AppImages (inside the file)
- Works on Live ISOs
- Can use the same AppImages when dual-booting multiple distributions
- Can be listed in the AppImageHub central directory of available AppImages
- Can double as a self-extracting compressed archive with the
Here is an overview of projects that are already distributing upstream-provided, official AppImages.
If you have questions, AppImage developers are on #AppImage on irc.freenode.net.
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)
.travis.yml file to your repository
To add linux see example