From c702ecad3d82a214d966ef7a16863efcdcd218e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Wed, 14 Jun 2017 12:03:51 +0200 Subject: [PATCH] Customize and list Gammu path MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Issue #15 Signed-off-by: Michal Čihař --- appveyor.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/appveyor.yml b/appveyor.yml index 2fa39eb33..14b59cc34 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -13,15 +13,17 @@ environment: PYTHON_VERSION: "3.5.0" PYTHON_ARCH: "32" GAMMU_VERSION: "1.38.3" + GAMMU_PATH: "C:\\Gammu" install: - "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%" # Install Gammu - appveyor DownloadFile https://dl.cihar.com/gammu/releases/windows/Gammu-%GAMMU_VERSION%-Windows.exe - - Gammu-%GAMMU_VERSION%-Windows.exe /S /D=C:\Program Files\Gammu + - Gammu-%GAMMU_VERSION%-Windows.exe /S /D=%GAMMU_PATH% # Install Python (from the official .msi of http://python.org) and pip when # not already installed. - ps: if (-not(Test-Path($env:PYTHON))) { & appveyor\install.ps1 } + - ps: Get-ChildItem -Path %GAMMU_PATH% -Recurse build_script: # Build the compiled extension