openlilylib / snippets

A place to store useful pieces of LilyPond code - custom functions, engravers, hacks, templates, examples etc.
Other
119 stars 39 forks source link

test: Fix caching issues (#111) #117

Closed Cecca closed 9 years ago

Cecca commented 9 years ago

This commit deals with the problems of caching LilyPond versions between Travis-CI builds reported in #111. Specifically, it turned out that there is not a separate cache per build-matrix entry (since LilyPond is not a supported language), but only a dedicated cache per branch.

The issue was then that only one version of LilyPond was actually used to run the tests, since the installation path was identical for all versions.

The solution introduced in this commit is to have an explicit cache management mechanism:

Cecca commented 9 years ago

The errors reported by Travis are not related to the changes introduced in this PR, but to an issue with the Arnold font on LilyPond 2.19.17

uliska commented 9 years ago

Thank you for picking up this issue!

The Arnold font is not yet part of the distribution from fonts.openlilylib.org. So the fail doesn't indicate anything (simply to confirm Matteo's statement).

I simply skimmed the code (can't do more, as I'm on a Schubert-only weekend) and looked at the build-test log. So I think this can be merged.