tox + sped up parallel pytest
This commit is contained in:
parent
c0c9114f37
commit
70988c2f10
|
@ -2,6 +2,9 @@
|
|||
*.pyc
|
||||
.cache
|
||||
__pycache__
|
||||
.tox
|
||||
.eggs
|
||||
UNKNOWN.egg-info
|
||||
|
||||
# WIP/test stuff
|
||||
doco.yml
|
||||
|
|
|
@ -4,11 +4,9 @@ services:
|
|||
language: python
|
||||
python:
|
||||
- "2.7"
|
||||
install:
|
||||
- pip install -r requirements.txt
|
||||
|
||||
script:
|
||||
# prepare qemu
|
||||
- docker run --rm --privileged multiarch/qemu-user-static:register --reset
|
||||
# run docker build & tests
|
||||
- py.test -vv test/
|
||||
# requirements, build docker, and tests
|
||||
- tox
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
from setuptools import setup
|
||||
|
||||
setup(
|
||||
setup_requires=['pytest-runner'],
|
||||
tests_require=['pytest'],
|
||||
)
|
Loading…
Reference in New Issue