Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Continuous builds for Linux on Travis CI #33

Merged
merged 49 commits into from
Jun 1, 2017

Conversation

probonopd
Copy link
Contributor

This PR, when merged, will compile this application on Travis CI upon each git push, and upload an AppImage to a temporary download URL on transfer.sh (available for 14 days). The download URL is toward the end of each Travis CI build log of each build (see below for how to set up automatic uploading to your GitHub Releases page).

For this to work, you need to enable Travis CI for your repository as described here prior to merging this, if you haven't already done so.

Providing an AppImage would have, among others, these advantages:

  • Works for most Linux 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
  • Just one format for all major distributions
  • Works out of the box, no installation of runtimes needed (unlike Snap and Flatpak)
  • Optional desktop integration with appimaged
  • 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 (unlike Flatpak)
  • Can use the same AppImages when dual-booting multiple distributions

Here is an overview of projects that are already distributing upstream-provided, official AppImages.

Please note: Instead of storing AppImage builds temporarily for 14 days each on transfer.sh, you could use GitHub Releases to store the binaries permanently. This way, they would be visible on the Releases page of your project. This is what I recommend. See https://docs.travis-ci.com/user/deployment/releases/. If you want to do this for continuous builds, also see https://github.com/probonopd/uploadtool.

If you would like to see only one entry for the Pull Request in your project's history, then please enable this GitHub functionality on your repo. It allows you to squash (combine) the commits when merging.

If you have questions, AppImage developers are on #AppImage on irc.freenode.net.

@probonopd
Copy link
Contributor Author

A recent version for testing can be downloaded from
https://transfer.sh/lwJu8/Qt_DAB-git.5d4de61-x86_64.AppImage

@JvanKatwijk JvanKatwijk merged commit 6d25bfe into JvanKatwijk:master Jun 1, 2017
@probonopd probonopd deleted the patch-1 branch June 1, 2017 16:14
@probonopd
Copy link
Contributor Author

Please enable Travis CI as described in https://travis-ci.org/getting_started and trigger a build. Thanks!

@JvanKatwijk
Copy link
Owner

JvanKatwijk commented Jun 1, 2017 via email

@JvanKatwijk
Copy link
Owner

JvanKatwijk commented Jun 1, 2017 via email

@probonopd
Copy link
Contributor Author

Check out https://github.com/probonopd/uploadtool if you are interesting in uploading to GitHub Releases instead.

@JvanKatwijk
Copy link
Owner

JvanKatwijk commented Jun 3, 2017 via email

@probonopd
Copy link
Contributor Author

mksquashfs: invalid option looks like the wrong mksquash is executed. Let me investigate.

@JvanKatwijk
Copy link
Owner

JvanKatwijk commented Jun 3, 2017 via email

@probonopd
Copy link
Contributor Author

The mksquashfs from Ubuntu is unusable because it does not contain plougher/squashfs-tools#13 yet

@JvanKatwijk
Copy link
Owner

JvanKatwijk commented Jun 3, 2017 via email

@probonopd
Copy link
Contributor Author

Please see my other PR, I fixed it by setting $PATH

@JvanKatwijk
Copy link
Owner

JvanKatwijk commented Jun 3, 2017 via email

@JvanKatwijk
Copy link
Owner

JvanKatwijk commented Jun 6, 2017 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants