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 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: - "pip install tox" test_script: - "tox" - cmd: lualatex.exe --include-directory="C:\\projects\\patacrep\\test\\test_compilation\\unicode_datadir" --include-directory="C:\\projects\\patacrep\\test\\test_compilation" --include-directory="C:\\projects\\patacrep\\patacrep\\data" C:\\projects\\patacrep\\test\\test_compilation\\datadir.tex # Cache Miktex zip install cache: - C:\projects\patacrep\miktex-portable.exe -> .appveyor.yml