From 55755ac8d793f3c088ae5d2bb55a30ecc452c3d9 Mon Sep 17 00:00:00 2001 From: Louis Date: Fri, 30 Oct 2015 20:56:17 +0100 Subject: [PATCH] [test][appveyor] Give up LaTeX compilation (for now?) --- .appveyor.yml | 16 ---------------- patacrep/build.py | 3 +-- 2 files changed, 1 insertion(+), 18 deletions(-) diff --git a/.appveyor.yml b/.appveyor.yml index 5f929665..4c4a6949 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -22,18 +22,6 @@ install: - "python --version" - "python -c \"import struct; print(struct.calcsize('P') * 8)\"" - # Install miktex portable - - ps: "wget http://mirrors.ctan.org/systems/win32/miktex/setup/miktex-portable-2.9.5719.exe -OutFile ./miktex-portable.exe" - - "7z x miktex-portable.exe * -aot -omiktex > nul" - - #- cmd: dir .\miktex\miktex\bin - - - cmd: set PATH=%PATH%;C:\projects\patacrep\miktex\miktex\bin - #- cmd: echo %PATH% - - #- cmd: C:\projects\patacrep\miktex\miktex\bin\lualatex.exe --version - - cmd: lualatex.exe --version - build: false # Not a C# project, build stuff at the test step instead. before_test: @@ -41,7 +29,3 @@ before_test: test_script: - "tox" - -# Cache Miktex zip install -cache: -- C:\projects\patacrep\miktex-portable.exe -> .appveyor.yml diff --git a/patacrep/build.py b/patacrep/build.py index b892d759..d260d45b 100644 --- a/patacrep/build.py +++ b/patacrep/build.py @@ -168,11 +168,10 @@ class SongbookBuilder(object): self._lualatex_options.append("--shell-escape") if not self.interactive: self._lualatex_options.append("-halt-on-error") - for datadir in self.songbook.config["datadir"]: # TODO Is this really necessary? + for datadir in self.songbook.config["datadir"]: self._lualatex_options.append( '--include-directory="{}"'.format(datadir) ) - self._lualatex_options.append("--disable-installer") # TODO Windows only http://docs.miktex.org/manual/texfeatures.html#autoinstalloptions def build_steps(self, steps=None): """Perform steps on the songbook by calling relevant self.build_*()