Browse Source

[test][appveyor] Give up LaTeX compilation (for now?)

pull/144/head
Louis 9 years ago
parent
commit
55755ac8d7
  1. 16
      .appveyor.yml
  2. 3
      patacrep/build.py

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

3
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_*()

Loading…
Cancel
Save