From f6278755d2d4779a2c6c46dcbb331420a0ea021e Mon Sep 17 00:00:00 2001 From: Oliverpool Date: Wed, 20 Jul 2016 11:54:41 +0200 Subject: [PATCH] try to install and run luatex on travis --- .travis.yml | 9 ++++++--- test/test_book/test_compilation.py | 4 ++-- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 92bb204e..d6ce0ac6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,9 +8,12 @@ install: script: - tox -e lint,py35 sudo: false -# addons: -# apt: -# packages: +addons: + apt: + sources: + - sourceline: 'ppa:texlive-backports/ppa' + packages: + - luatex # - texlive-latex-base # - latex-xcolor # - texlive-latex-extra diff --git a/test/test_book/test_compilation.py b/test/test_book/test_compilation.py index 3b864c6b..4fef87ce 100644 --- a/test/test_book/test_compilation.py +++ b/test/test_book/test_compilation.py @@ -122,8 +122,8 @@ class FileTest(unittest.TestCase, metaclass=dynamic.DynamicTest): @classmethod def _create_compilation_test(cls, base, onthefly=False): """Return a function testing that `base.tex` is correctly compiled.""" - @unittest.skipIf('CI' in os.environ, - "Travis or AppVeyor does not support lualatex compilation yet") + @unittest.skipIf('APPVEYOR' in os.environ, + "AppVeyor does not support lualatex compilation yet") def test_compilation(self): """Test that `base` is rendered to pdf.""" # Check compilation