From 79fa3673c6bb0eed76e8fb8f869ed02a06a768bd Mon Sep 17 00:00:00 2001 From: Oliverpool Date: Sun, 1 Nov 2015 21:38:05 +0100 Subject: [PATCH] Fix AppVeyor lualatex comilation --- .appveyor.yml | 8 ++++++-- test/test_compilation/test_compilation.py | 4 ++-- texlive_packages.txt | 13 +++++++++++++ 3 files changed, 21 insertions(+), 4 deletions(-) create mode 100644 texlive_packages.txt diff --git a/.appveyor.yml b/.appveyor.yml index c607ae2a..470021c9 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -30,9 +30,13 @@ install: - cmd: set PATH=%PATH%;C:\projects\patacrep\miktex\miktex\bin #- cmd: echo %PATH% + #- cmd: lualatex.exe --version - #- cmd: C:\projects\patacrep\miktex\miktex\bin\lualatex.exe --version - - cmd: lualatex.exe --version + # Update fonts + - cmd: luaotfload-tool.exe --update + + # Manually install required texlive packages + - cmd: mpm.exe --install-some texlive_packages.txt build: false # Not a C# project, build stuff at the test step instead. diff --git a/test/test_compilation/test_compilation.py b/test/test_compilation/test_compilation.py index 6b74969b..240acaf9 100644 --- a/test/test_compilation/test_compilation.py +++ b/test/test_compilation/test_compilation.py @@ -96,8 +96,8 @@ class FileTest(unittest.TestCase, metaclass=dynamic.DynamicTest): @classmethod def _create_compilation_test(cls, base): """Return a function testing that `base.tex` is correctly compiled.""" - @unittest.skipIf('TRAVIS' in os.environ or 'APPVEYOR' in os.environ, - "Travis and AppVeyor do not support lualatex compilation yet") + @unittest.skipIf('TRAVIS' in os.environ, + "Travis does not support lualatex compilation yet") def test_compilation(self): """Test that `base` is rendered to pdf.""" # Check compilation diff --git a/texlive_packages.txt b/texlive_packages.txt new file mode 100644 index 00000000..dac17205 --- /dev/null +++ b/texlive_packages.txt @@ -0,0 +1,13 @@ +babel-english +fancybox +framed +import +l3kernel +l3packages +mptopdf +ms +pgf +tipa +url +xcolor +xstring \ No newline at end of file