From f6278755d2d4779a2c6c46dcbb331420a0ea021e Mon Sep 17 00:00:00 2001 From: Oliverpool Date: Wed, 20 Jul 2016 11:54:41 +0200 Subject: [PATCH 01/12] 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 From 793028b49801062ee602bb381caf08559cf16d72 Mon Sep 17 00:00:00 2001 From: Oliverpool Date: Wed, 20 Jul 2016 12:06:09 +0200 Subject: [PATCH 02/12] Try to use debian-sid luatex --- .travis.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index d6ce0ac6..10aab0ea 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,13 +11,12 @@ sudo: false addons: apt: sources: - - sourceline: 'ppa:texlive-backports/ppa' + - debian-sid packages: - - luatex # - texlive-latex-base # - latex-xcolor # - texlive-latex-extra -# - texlive-luatex + - texlive-luatex # - texlive-xetex # - pgf # - lmodern From a76d7f435e144d3127c83edee4f45ef0ca03b40e Mon Sep 17 00:00:00 2001 From: Oliverpool Date: Wed, 20 Jul 2016 12:08:07 +0200 Subject: [PATCH 03/12] add dependencies --- .travis.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.travis.yml b/.travis.yml index 10aab0ea..c9bfd080 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,6 +16,8 @@ addons: # - texlive-latex-base # - latex-xcolor # - texlive-latex-extra + - texlive-binaries + - texlive-base - texlive-luatex # - texlive-xetex # - pgf From dca93fdb54087cbf0052002b8db7f01fe00e4160 Mon Sep 17 00:00:00 2001 From: Oliverpool Date: Wed, 20 Jul 2016 12:17:01 +0200 Subject: [PATCH 04/12] try new beta trusty --- .travis.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index c9bfd080..9c277f98 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,17 +7,14 @@ install: - pip install tox script: - tox -e lint,py35 -sudo: false +sudo: required +dist: trusty addons: apt: - sources: - - debian-sid packages: # - texlive-latex-base # - latex-xcolor # - texlive-latex-extra - - texlive-binaries - - texlive-base - texlive-luatex # - texlive-xetex # - pgf From 8d298600b4eb04b6a11fdcb6a6cc61b446dd24b1 Mon Sep 17 00:00:00 2001 From: Oliverpool Date: Wed, 20 Jul 2016 12:23:27 +0200 Subject: [PATCH 05/12] fix apt package --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 9c277f98..116f6b12 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,10 +12,10 @@ dist: trusty addons: apt: packages: -# - texlive-latex-base + - texlive-latex-base # - latex-xcolor # - texlive-latex-extra - - texlive-luatex +# - texlive-luatex # - texlive-xetex # - pgf # - lmodern From 1e1f76e3d2c3da1e96e32bb2622c6684385b8679 Mon Sep 17 00:00:00 2001 From: Oliverpool Date: Wed, 20 Jul 2016 12:33:29 +0200 Subject: [PATCH 06/12] xcolor missing --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 116f6b12..7b58e2d4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,7 +13,7 @@ addons: apt: packages: - texlive-latex-base -# - latex-xcolor + - latex-xcolor # - texlive-latex-extra # - texlive-luatex # - texlive-xetex From b2ac622646ddb94ee2cbbd6bf8946d2e235d6a5e Mon Sep 17 00:00:00 2001 From: Oliverpool Date: Wed, 20 Jul 2016 12:38:17 +0200 Subject: [PATCH 07/12] xstring missing --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 7b58e2d4..aaf73e8c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,8 +13,8 @@ addons: apt: packages: - texlive-latex-base - - latex-xcolor -# - texlive-latex-extra + - latex-xcolor # package xcolor + - texlive-latex-extra # package xstring # - texlive-luatex # - texlive-xetex # - pgf From deb71f71ed82429aa608ee803346be1a627e0162 Mon Sep 17 00:00:00 2001 From: Oliverpool Date: Wed, 20 Jul 2016 12:43:11 +0200 Subject: [PATCH 08/12] tikz missing --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index aaf73e8c..7c4b30f5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,9 +15,9 @@ addons: - texlive-latex-base - latex-xcolor # package xcolor - texlive-latex-extra # package xstring + - pgf # package tikz # - texlive-luatex # - texlive-xetex -# - pgf # - lmodern # - lilypond notifications: From 351a590fce785515344b7701f0332ef9c1f3febd Mon Sep 17 00:00:00 2001 From: Oliverpool Date: Wed, 20 Jul 2016 12:51:06 +0200 Subject: [PATCH 09/12] luaotfload missing --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 7c4b30f5..335f05c1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,7 +16,7 @@ addons: - latex-xcolor # package xcolor - texlive-latex-extra # package xstring - pgf # package tikz -# - texlive-luatex + - texlive-luatex # package luaotfload # - texlive-xetex # - lmodern # - lilypond From 9194f10a615a608ef6efed1a3c635f9ac58a47f7 Mon Sep 17 00:00:00 2001 From: Oliverpool Date: Wed, 20 Jul 2016 12:59:51 +0200 Subject: [PATCH 10/12] eu2enc missing --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 335f05c1..268674df 100644 --- a/.travis.yml +++ b/.travis.yml @@ -17,7 +17,7 @@ addons: - texlive-latex-extra # package xstring - pgf # package tikz - texlive-luatex # package luaotfload -# - texlive-xetex + - texlive-xetex # package eu2enc # - lmodern # - lilypond notifications: From 21f61aee97c437019abe6fd316284f60f3db5ce1 Mon Sep 17 00:00:00 2001 From: Oliverpool Date: Wed, 20 Jul 2016 13:07:34 +0200 Subject: [PATCH 11/12] add lmodern --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 268674df..fcf8f719 100644 --- a/.travis.yml +++ b/.travis.yml @@ -18,7 +18,7 @@ addons: - pgf # package tikz - texlive-luatex # package luaotfload - texlive-xetex # package eu2enc -# - lmodern + - lmodern # - lilypond notifications: email: false From 1d97480cfe9a21ec59c98fc38e8e5c165c05060e Mon Sep 17 00:00:00 2001 From: Oliverpool Date: Wed, 20 Jul 2016 13:42:11 +0200 Subject: [PATCH 12/12] add babel langs --- .travis.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.travis.yml b/.travis.yml index fcf8f719..da3e6e7d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -19,6 +19,9 @@ addons: - texlive-luatex # package luaotfload - texlive-xetex # package eu2enc - lmodern + - texlive-lang-french + - texlive-lang-german + - texlive-lang-spanish # - lilypond notifications: email: false