Skip to content

Commit

Permalink
Merge pull request #16 from andyli/appveyor
Browse files Browse the repository at this point in the history
Appveyor
  • Loading branch information
rochacbruno committed Oct 11, 2017
2 parents c98fdb2 + a4736ef commit e904c45
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
11 changes: 11 additions & 0 deletions appveyor.yml
@@ -0,0 +1,11 @@
environment:
matrix:
- BASEPYTHON: "C:\\Python35\\python.exe"
- BASEPYTHON: "C:\\Python34\\python.exe"
- BASEPYTHON: "C:\\Python27\\python.exe"

install: pip install -U tox

build: off

test_script: tox -e windows
6 changes: 6 additions & 0 deletions tox.ini
Expand Up @@ -7,6 +7,7 @@ deps=flake8
commands=flake8 manage

[testenv]
basepython = {env:BASEPYTHON:python}
setenv =
PYTHONPATH = {toxinidir}:{toxinidir}/manage
deps =
Expand All @@ -15,6 +16,11 @@ commands =
pip install -U pip
py.test -v --boxed --basetemp={envtmpdir}

[testenv:windows]
; --boxed does not work in Windows
commands =
pip install -U pip
py.test -v --basetemp={envtmpdir}

; If you want to make tox run the tests with the same versions, create a
; requirements.txt with the pinned versions and uncomment the following lines:
Expand Down

0 comments on commit e904c45

Please sign in to comment.