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.
48 lines
1.4 KiB
48 lines
1.4 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)\""
|
|
|
|
# Install miktex
|
|
- "powershell C:/projects/patacrep/.appveyor.miktex.ps"
|
|
|
|
- cmd: dir %LOCALAPPDATA%
|
|
- cmd: dir %LOCALAPPDATA%\MiKTeX
|
|
- cmd: dir %LOCALAPPDATA%\MiKTeX\2.9
|
|
- cmd: dir %LOCALAPPDATA%\MiKTeX\2.9\miktex
|
|
- cmd: dir %LOCALAPPDATA%\MiKTeX\2.9\miktex\bin
|
|
|
|
- cmd: doskey lualatex=%LOCALAPPDATA%\MiKTeX\2.9\miktex\bin\lualatex.exe $*
|
|
|
|
- "lualatex --version"
|
|
|
|
build: false # Not a C# project, build stuff at the test step instead.
|
|
|
|
before_test:
|
|
- "pip install tox"
|
|
|
|
test_script:
|
|
- "tox"
|
|
|
|
# Cache Miktex install
|
|
cache:
|
|
- C:\Users\appveyor\AppData\Local\MiKTeX\2.9 -> .appveyor.miktex.ps
|
|
|