mirror of https://github.com/patacrep/patacrep.git
Engine for LaTeX songbooks
http://www.patacrep.com
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
53 lines
1.7 KiB
53 lines
1.7 KiB
environment:
|
|
matrix:
|
|
- PYTHON: "C:\\Python34"
|
|
PYTHON_VERSION: "3.4.x" # currently 3.4.3
|
|
PYTHON_ARCH: "32"
|
|
|
|
install:
|
|
# Download setup scripts and unzip
|
|
- ps: "wget https://github.com/cloudify-cosmo/appveyor-utils/archive/master.zip -OutFile ./master.zip"
|
|
- "7z e master.zip */appveyor/* -oappveyor"
|
|
|
|
# Install Python (from the official .msi of http://python.org) and pip when
|
|
# not already installed.
|
|
- "powershell ./appveyor/install.ps1"
|
|
|
|
# Prepend newly installed Python to the PATH of this build (this cannot be
|
|
# done from inside the powershell script as it would require to restart
|
|
# the parent CMD process).
|
|
- "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
|
|
|
|
# Check that we have the expected version and architecture for Python
|
|
- "python --version"
|
|
- "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-2.9.5719.exe -OutFile ./miktex-portable.exe}"
|
|
|
|
# Unzip miktex portable
|
|
- "7z x miktex-portable.exe * -aot -omiktex > nul"
|
|
|
|
# Let the binaries be directly callable
|
|
- cmd: set PATH=%PATH%;C:\projects\patacrep\miktex\miktex\bin
|
|
|
|
# Update fonts
|
|
- cmd: luaotfload-tool.exe --update
|
|
|
|
# Manually install required texlive packages
|
|
- cmd: mpm.exe --install-some texlive_packages.txt
|
|
|
|
# Update all packages
|
|
- cmd: mpm.exe --update-db --update --verbose || cat C:/projects/patacrep/miktex/miktex/log/mpmcli.log
|
|
|
|
build: false # Not a C# project, build stuff at the test step instead.
|
|
|
|
before_test:
|
|
- "pip install tox"
|
|
|
|
test_script:
|
|
- "tox"
|
|
|
|
# Cache Miktex Portable file
|
|
cache:
|
|
- C:\projects\patacrep\miktex-portable.exe
|