Skip to content

Commit

Permalink
Merge pull request #36 from andyli/appveyor
Browse files Browse the repository at this point in the history
initial AppVeyor config (fixes #26)
  • Loading branch information
mayn committed Oct 10, 2017
2 parents c8399fa + b3c3552 commit 318b1cb
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
14 changes: 14 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
environment:
matrix:
- PYTHON: "C:\\Python26"
- PYTHON: "C:\\Python27"

install:
- SET "PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
- python --version
- pip install -r requirements-travis.txt

build: off

test_script:
- tox -e appveyor
7 changes: 7 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,10 @@ commands=
{envbindir}/coverage run \
{envbindir}/pytest --basetemp={envtmpdir} {posargs}
{envbindir}/coverage html -d {toxinidir}/htmlcov/{envname}

[testenv:appveyor]
basepython = {env:PYTHON}\python.exe
commands=
{envbindir}/coverage run \
-m pytest --basetemp={envtmpdir} {posargs}
{envbindir}/coverage html -d {toxinidir}/htmlcov/{envname}

0 comments on commit 318b1cb

Please sign in to comment.