Browse Source

Fix AppVeyor lualatex comilation

pull/149/head
Oliverpool 9 years ago
parent
commit
79fa3673c6
  1. 8
      .appveyor.yml
  2. 4
      test/test_compilation/test_compilation.py
  3. 13
      texlive_packages.txt

8
.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.

4
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

13
texlive_packages.txt

@ -0,0 +1,13 @@
babel-english
fancybox
framed
import
l3kernel
l3packages
mptopdf
ms
pgf
tipa
url
xcolor
xstring
Loading…
Cancel
Save