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

Add Travis-CI integration, and minor improvements #600

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

dannyedel
Copy link
Contributor

@dannyedel dannyedel commented Nov 13, 2016

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

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.
@tkemmer
Copy link
Contributor

tkemmer commented Aug 3, 2017

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.

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