|
|
@ -23,23 +23,23 @@ install: |
|
|
|
- "python -c \"import struct; print(struct.calcsize('P') * 8)\"" |
|
|
|
|
|
|
|
# Download miktex portable (if not cached) |
|
|
|
- ps: "If (!(Test-Path miktex-portable.exe)){wget http://mirrors.ctan.org/systems/win32/miktex/setup/miktex-portable.exe -OutFile ./miktex-portable.exe}" |
|
|
|
#- ps: "If (!(Test-Path miktex-portable.exe)){wget http://mirrors.ctan.org/systems/win32/miktex/setup/miktex-portable.exe -OutFile ./miktex-portable.exe}" |
|
|
|
|
|
|
|
# Unzip miktex portable |
|
|
|
- "7z x miktex-portable.exe * -aot -omiktex" |
|
|
|
#- "7z x miktex-portable.exe * -aot -omiktex" |
|
|
|
|
|
|
|
# Let the binaries be directly callable |
|
|
|
- cmd: set PATH=%PATH%;C:\projects\patacrep\miktex\texmfs\install\miktex\bin |
|
|
|
#- cmd: set PATH=%PATH%;C:\projects\patacrep\miktex\texmfs\install\miktex\bin |
|
|
|
|
|
|
|
# Update some packages to prevent ltluatex bug |
|
|
|
# - cmd: mpm.exe --update=miktex-bin-2.9 --verbose |
|
|
|
# - cmd: mpm.exe --update=ltxbase --update=luatexbase --update=luaotfload --update=miktex-luatex-base --update=fontspec |
|
|
|
|
|
|
|
# Manually install required texlive packages |
|
|
|
- cmd: mpm.exe --verbose --install-some texlive_packages.txt |
|
|
|
#- cmd: mpm.exe --verbose --install-some texlive_packages.txt |
|
|
|
|
|
|
|
# Update fonts |
|
|
|
- cmd: luaotfload-tool.exe --update |
|
|
|
#- cmd: luaotfload-tool.exe --update |
|
|
|
|
|
|
|
build: false # Not a C# project, build stuff at the test step instead. |
|
|
|
|
|
|
@ -50,5 +50,5 @@ test_script: |
|
|
|
- "tox" |
|
|
|
|
|
|
|
# Cache Miktex Portable file |
|
|
|
cache: |
|
|
|
- C:\projects\patacrep\miktex-portable.exe |
|
|
|
#cache: |
|
|
|
#- C:\projects\patacrep\miktex-portable.exe |
|
|
|