Skip to content

Commit

Permalink
Customize and list Gammu path
Browse files Browse the repository at this point in the history
Issue #15

Signed-off-by: Michal Čihař <michal@cihar.com>
  • Loading branch information
nijel committed Jun 14, 2017
1 parent 2fbd3aa commit c702eca
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c702eca

Please sign in to comment.