mirror of https://github.com/pypa/pep517.git
Add tox for testing
This commit is contained in:
parent
6261bd944d
commit
2fec31827b
|
@ -1,3 +1,5 @@
|
|||
__pycache__/
|
||||
*.pyc
|
||||
/dist/
|
||||
.tox
|
||||
.pytest_cache
|
||||
|
|
|
@ -5,5 +5,5 @@ python:
|
|||
- "3.4"
|
||||
- "3.3"
|
||||
- "2.7"
|
||||
install: pip install testpath pytoml
|
||||
script: py.test
|
||||
install: pip install tox
|
||||
script: tox -e py
|
||||
|
|
|
@ -14,7 +14,7 @@ environment:
|
|||
install:
|
||||
- "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
|
||||
- "python --version"
|
||||
- "pip install pytest mock testpath pytoml"
|
||||
- "pip install tox"
|
||||
|
||||
build: off
|
||||
|
||||
|
@ -22,4 +22,4 @@ cache:
|
|||
- '%LOCALAPPDATA%\pip\Cache'
|
||||
|
||||
test_script:
|
||||
- "pytest"
|
||||
- "tox -e py"
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
pytest
|
||||
mock
|
||||
testpath
|
||||
pytoml
|
Loading…
Reference in New Issue