diff --git a/.travis.yml b/.travis.yml index 92bb204e..da3e6e7d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,17 +7,21 @@ install: - pip install tox script: - tox -e lint,py35 -sudo: false -# addons: -# apt: -# packages: -# - texlive-latex-base -# - latex-xcolor -# - texlive-latex-extra -# - texlive-luatex -# - texlive-xetex -# - pgf -# - lmodern +sudo: required +dist: trusty +addons: + apt: + packages: + - texlive-latex-base + - latex-xcolor # package xcolor + - texlive-latex-extra # package xstring + - pgf # package tikz + - texlive-luatex # package luaotfload + - texlive-xetex # package eu2enc + - lmodern + - texlive-lang-french + - texlive-lang-german + - texlive-lang-spanish # - lilypond notifications: email: false 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