Add Travis-CI integration, and minor improvements#600
Open
dannyedel wants to merge 4 commits intoBALL-Project:masterfrom
Open
Add Travis-CI integration, and minor improvements#600dannyedel wants to merge 4 commits intoBALL-Project:masterfrom
dannyedel wants to merge 4 commits intoBALL-Project:masterfrom
Conversation
This improves on the previous logic of just printing a generic statement that an unexpected exception was caught.
In case of errors, latex by default prompts the user and blocks on stdin. This is unsuitable for automatic building in a makefile. With nonstopmode, latex will exit with an error code if something goes wrong, but still output enough information to figure out why.
Trying to read the new v13 archive on boost-1.55 (which is the highest in Ubuntu 14.04 official repositories, and otherwise supported) resulted in 'unsupported version' error. Since boost::serialization is backwards-compatible, the newer versions can still read the old file. This commit effectively restores the serialized file as it was at 9fa1e6d
This adds a travis-ci configuration file, enabling automatic CI building, well integrated with GitHub. All required library dependencies are pulled from the official Ubuntu repositories, using the 14.04 "trusty" distribution. Note that this currently builds without QT_WEBENGINE support, because it is not (yet) available in Ubuntu or Debian. Travis' ccache integration is enabled to reduce build times as much as possible.
Contributor
|
Thanks for your patches and suggestions! I'm not currently involved in the Travis part but I have merged your other commits as d1b6f27...b89f49f. |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
While working on the Debian packaging of ball, I (or rather,
my computer : ) spent quite a bit of time on building and
executing the unittests repeatedly, while bisecting for patches.
While ball has CI servers, their build results and logs are not public,
so I wrote up a travis-ci configuration file because it is so nicely
integrated with GitHub - in the hope that it might be useful the next
time around.
In the course of building current ball on the 14.04 'trusty' image I
had to make some small changes in order to get a clean compile,
or improve diagnostic output, these are on their own commits
to ease reviewing.
It would be nice if this work could be merged back into the main repository.
Edit: Example log of a travis run: https://travis-ci.org/dannyedel/ball/builds/175482549