|
@ -48,8 +48,6 @@ class FileTest(unittest.TestCase, metaclass=dynamic.DynamicTest): |
|
|
def _create_test(cls, base): |
|
|
def _create_test(cls, base): |
|
|
"""Return a function testing that `base` compiles.""" |
|
|
"""Return a function testing that `base` compiles.""" |
|
|
|
|
|
|
|
|
@unittest.skipIf('TRAVIS' in os.environ, |
|
|
|
|
|
"Travis does not support lualatex compilation yet") |
|
|
|
|
|
def test_compile(self): |
|
|
def test_compile(self): |
|
|
"""Test that `base` is correctly compiled.""" |
|
|
"""Test that `base` is correctly compiled.""" |
|
|
if base is None: |
|
|
if base is None: |
|
@ -86,6 +84,8 @@ class FileTest(unittest.TestCase, metaclass=dynamic.DynamicTest): |
|
|
) |
|
|
) |
|
|
|
|
|
|
|
|
# Check compilation |
|
|
# Check compilation |
|
|
|
|
|
if 'TRAVIS' not in os.environ: |
|
|
|
|
|
# Travis does not support lualatex compilation yet |
|
|
self.assertEqual(0, self.compile_songbook(songbook)) |
|
|
self.assertEqual(0, self.compile_songbook(songbook)) |
|
|
|
|
|
|
|
|
test_compile.__doc__ = ( |
|
|
test_compile.__doc__ = ( |
|
|