Skip to content

Commit

Permalink
appveyor: workaround for pipenv + pytest issue
Browse files Browse the repository at this point in the history
  • Loading branch information
hoefling committed Apr 28, 2018
1 parent f6dd4f8 commit ebaba7b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
10 changes: 8 additions & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,14 @@ build: off

test_script:
- "pipenv run python setup.py flake8"
- "pipenv run pytest --collect-only"
- "pipenv run pytest"
# - "pipenv run pytest"
- "pipenv --venv > venvpath.out"
- "SET /p VENV=<venvpath.out"
- "del venvpath.out"
- "%VENV%\\Scripts\\activate.bat"
- "pip list"
- "pytest"
- "%VENV\\Scripts\\deactivate.bat"

after_test:
- "pipenv run python setup.py bdist_wheel"
Expand Down
6 changes: 3 additions & 3 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ testpaths=tests
addopts=
--verbose
--junit-xml=unittests.xml
# --cov-report term
# --cov-report xml:coverage.xml
# --cov=devpi_ext
--cov-report term
--cov-report xml:coverage.xml
--cov=devpi_ext

0 comments on commit ebaba7b

Please sign in to comment.