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