Remove tox
This commit is contained in:
Родитель
3b5b20682b
Коммит
ac586ba21e
|
@ -9,7 +9,6 @@ cython_debug/
|
|||
python_build/
|
||||
.coverage*
|
||||
.eggs
|
||||
.tox
|
||||
htmlcov/
|
||||
dist/
|
||||
*.egg
|
||||
|
|
|
@ -19,7 +19,6 @@
|
|||
* [requirements.txt](requirements.txt)
|
||||
* [setup.cfg](setup.cfg)
|
||||
* [setup.py](setup.py)
|
||||
* [tox.ini](tox.ini)
|
||||
* [PYTHON-MANIFEST.in](PYTHON-MANIFEST.in)
|
||||
|
||||
## Ruby
|
||||
|
|
|
@ -9,7 +9,6 @@ dist/
|
|||
.coverage
|
||||
.coverage.*
|
||||
.cache/
|
||||
.tox/
|
||||
nosetests.xml
|
||||
doc/
|
||||
_grpcio_metadata.py
|
||||
|
|
|
@ -11,4 +11,4 @@ RUN apt-get update && apt-get install -y ${'\\'}
|
|||
# Install Python packages from PyPI
|
||||
RUN pip install pip --upgrade
|
||||
RUN pip install virtualenv
|
||||
RUN pip install futures==2.2.0 enum34==1.0.4 protobuf==3.0.0a2 tox
|
||||
RUN pip install futures==2.2.0 enum34==1.0.4 protobuf==3.0.0a2
|
||||
|
|
|
@ -76,7 +76,7 @@ RUN apt-get update && apt-get install -y \
|
|||
|
||||
RUN pip install pip --upgrade
|
||||
RUN pip install virtualenv
|
||||
RUN pip install futures==2.2.0 enum34==1.0.4 protobuf==3.0.0a2 tox
|
||||
RUN pip install futures==2.2.0 enum34==1.0.4 protobuf==3.0.0a2
|
||||
|
||||
|
||||
##################
|
||||
|
|
|
@ -76,7 +76,7 @@ RUN apt-get update && apt-get install -y \
|
|||
|
||||
RUN pip install pip --upgrade
|
||||
RUN pip install virtualenv
|
||||
RUN pip install futures==2.2.0 enum34==1.0.4 protobuf==3.0.0a2 tox
|
||||
RUN pip install futures==2.2.0 enum34==1.0.4 protobuf==3.0.0a2
|
||||
|
||||
|
||||
##################
|
||||
|
|
|
@ -76,7 +76,7 @@ RUN apt-get update && apt-get install -y \
|
|||
# Install Python packages from PyPI
|
||||
RUN pip install pip --upgrade
|
||||
RUN pip install virtualenv
|
||||
RUN pip install futures==2.2.0 enum34==1.0.4 protobuf==3.0.0a2 tox
|
||||
RUN pip install futures==2.2.0 enum34==1.0.4 protobuf==3.0.0a2
|
||||
|
||||
# Prepare ccache
|
||||
RUN ln -s /usr/bin/ccache /usr/local/bin/gcc
|
||||
|
|
|
@ -93,7 +93,7 @@ RUN apt-get update && apt-get install -y \
|
|||
# Install Python packages from PyPI
|
||||
RUN pip install pip --upgrade
|
||||
RUN pip install virtualenv
|
||||
RUN pip install futures==2.2.0 enum34==1.0.4 protobuf==3.0.0a2 tox
|
||||
RUN pip install futures==2.2.0 enum34==1.0.4 protobuf==3.0.0a2
|
||||
|
||||
|
||||
RUN pip install coverage
|
||||
|
|
|
@ -137,7 +137,7 @@ RUN apt-get update && apt-get install -y \
|
|||
# Install Python packages from PyPI
|
||||
RUN pip install pip --upgrade
|
||||
RUN pip install virtualenv
|
||||
RUN pip install futures==2.2.0 enum34==1.0.4 protobuf==3.0.0a2 tox
|
||||
RUN pip install futures==2.2.0 enum34==1.0.4 protobuf==3.0.0a2
|
||||
|
||||
# Prepare ccache
|
||||
RUN ln -s /usr/bin/ccache /usr/local/bin/gcc
|
||||
|
|
|
@ -76,7 +76,7 @@ RUN apt-get update && apt-get install -y \
|
|||
# Install Python packages from PyPI
|
||||
RUN pip install pip --upgrade
|
||||
RUN pip install virtualenv
|
||||
RUN pip install futures==2.2.0 enum34==1.0.4 protobuf==3.0.0a2 tox
|
||||
RUN pip install futures==2.2.0 enum34==1.0.4 protobuf==3.0.0a2
|
||||
|
||||
# Prepare ccache
|
||||
RUN ln -s /usr/bin/ccache /usr/local/bin/gcc
|
||||
|
|
|
@ -90,13 +90,11 @@ sudo apt-get install -y libgflags-dev libgtest-dev libc++-dev clang
|
|||
# Python dependencies
|
||||
sudo pip install tabulate
|
||||
sudo pip install google-api-python-client
|
||||
sudo pip install tox
|
||||
|
||||
curl -O https://bootstrap.pypa.io/get-pip.py
|
||||
sudo pypy get-pip.py
|
||||
sudo pypy -m pip install tabulate
|
||||
sudo pip install google-api-python-client
|
||||
sudo pip install tox
|
||||
|
||||
# Node dependencies (nvm has to be installed under user jenkins)
|
||||
touch .profile
|
||||
|
|
26
tox.ini
26
tox.ini
|
@ -1,26 +0,0 @@
|
|||
# GRPC Python tox (test environment) settings
|
||||
[tox]
|
||||
skipsdist = true
|
||||
envlist = py27,py34
|
||||
|
||||
[testenv]
|
||||
setenv =
|
||||
PYGRPC_ROOT = {toxinidir}/src/python/grpcio/
|
||||
commands =
|
||||
{envpython} setup.py build_py
|
||||
{envpython} setup.py test
|
||||
{envbindir}/coverage combine
|
||||
# TODO(atash): we currently ignore cygrpc.pyx due to an insufficiency in Cython's coverage plug-in. Discussion is ongoing.
|
||||
{envbindir}/coverage html --include='{env:PYGRPC_ROOT}/grpc/*' --omit='{env:PYGRPC_ROOT}/grpc/framework/alpha/*','{env:PYGRPC_ROOT}/grpc/early_adopter/*','{env:PYGRPC_ROOT}/grpc/framework/base/*','{env:PYGRPC_ROOT}/grpc/framework/face/*','{env:PYGRPC_ROOT}/grpc/_adapter/fore.py','{env:PYGRPC_ROOT}/grpc/_adapter/rear.py','{env:PYGRPC_ROOT}/grpc/_cython/cygrpc.pyx'
|
||||
{envbindir}/coverage report --include='{env:PYGRPC_ROOT}/grpc/*' --omit='{env:PYGRPC_ROOT}/grpc/framework/alpha/*','{env:PYGRPC_ROOT}/grpc/early_adopter/*','{env:PYGRPC_ROOT}/grpc/framework/base/*','{env:PYGRPC_ROOT}/grpc/framework/face/*','{env:PYGRPC_ROOT}/grpc/_adapter/fore.py','{env:PYGRPC_ROOT}/grpc/_adapter/rear.py','{env:PYGRPC_ROOT}/grpc/_cython/cygrpc.pyx'
|
||||
deps =
|
||||
-rrequirements.txt
|
||||
passenv = *
|
||||
|
||||
[testenv:interop_client]
|
||||
commands =
|
||||
{envpython} src/python/grpcio_tests/setup.py run_interop --client --args='{posargs}'
|
||||
|
||||
[testenv:interop_server]
|
||||
commands =
|
||||
{envpython} src/python/grpcio_tests/setup.py run_interop --server --args='{posargs}'
|
Загрузка…
Ссылка в новой задаче