Browse Source

try to install and run luatex on travis

pull/238/head
Oliverpool 9 years ago
parent
commit
f6278755d2
  1. 9
      .travis.yml
  2. 4
      test/test_book/test_compilation.py

9
.travis.yml

@ -8,9 +8,12 @@ install:
script: script:
- tox -e lint,py35 - tox -e lint,py35
sudo: false sudo: false
# addons: addons:
# apt: apt:
# packages: sources:
- sourceline: 'ppa:texlive-backports/ppa'
packages:
- luatex
# - texlive-latex-base # - texlive-latex-base
# - latex-xcolor # - latex-xcolor
# - texlive-latex-extra # - texlive-latex-extra

4
test/test_book/test_compilation.py

@ -122,8 +122,8 @@ class FileTest(unittest.TestCase, metaclass=dynamic.DynamicTest):
@classmethod @classmethod
def _create_compilation_test(cls, base, onthefly=False): def _create_compilation_test(cls, base, onthefly=False):
"""Return a function testing that `base.tex` is correctly compiled.""" """Return a function testing that `base.tex` is correctly compiled."""
@unittest.skipIf('CI' in os.environ, @unittest.skipIf('APPVEYOR' in os.environ,
"Travis or AppVeyor does not support lualatex compilation yet") "AppVeyor does not support lualatex compilation yet")
def test_compilation(self): def test_compilation(self):
"""Test that `base` is rendered to pdf.""" """Test that `base` is rendered to pdf."""
# Check compilation # Check compilation

Loading…
Cancel
Save