2017-11-01 17:49:32 +00:00
|
|
|
- !Image
|
|
|
|
name: env36
|
2019-05-21 15:01:05 +00:00
|
|
|
from: !DockerImage python:3.6.0-slim
|
2017-11-02 18:31:58 +00:00
|
|
|
repository: localhost/grpclib/env36
|
2017-11-01 17:49:32 +00:00
|
|
|
tasks:
|
2019-03-28 16:02:38 +00:00
|
|
|
- run: pip3 install --no-cache-dir h2==3.1.0
|
2018-10-24 13:52:45 +00:00
|
|
|
- run: pip3 install --no-cache-dir -r {{reqs}}
|
|
|
|
reqs: !File "requirements.txt"
|
|
|
|
|
2019-05-21 15:01:05 +00:00
|
|
|
- !Image
|
|
|
|
name: env37
|
|
|
|
from: !DockerImage python:3.7.0-slim
|
|
|
|
repository: localhost/grpclib/env37
|
|
|
|
tasks:
|
|
|
|
- run: pip3 install --no-cache-dir h2==3.1.0
|
|
|
|
- run: pip3 install --no-cache-dir -r {{reqs}}
|
|
|
|
reqs: !File "requirements.txt"
|
|
|
|
|
|
|
|
- !Image
|
|
|
|
name: env38
|
|
|
|
from: !DockerImage python:3.8.0a4-slim
|
|
|
|
repository: localhost/grpclib/env38
|
|
|
|
tasks:
|
|
|
|
- run: pip3 install --no-cache-dir h2==3.1.0
|
|
|
|
- run: pip3 install --no-cache-dir -r {{reqs}}
|
|
|
|
reqs: !File "requirements.txt"
|
|
|
|
|
2017-11-30 12:53:09 +00:00
|
|
|
- !Image
|
|
|
|
name: docs
|
|
|
|
from: env36
|
|
|
|
repository: localhost/grpclib/docs
|
|
|
|
tasks:
|
2019-03-28 16:02:38 +00:00
|
|
|
- run: pip3 install --no-cache-dir h2==3.1.0
|
2019-02-14 16:57:59 +00:00
|
|
|
- run: pip3 install --no-cache-dir -r {{reqs}}
|
|
|
|
reqs: !File "docs/requirements.txt"
|
2017-11-01 17:49:32 +00:00
|
|
|
|
|
|
|
- !Command
|
|
|
|
name: server
|
|
|
|
image: env36
|
|
|
|
run: python3 -m helloworld.server
|
|
|
|
network-name: server
|
|
|
|
environ:
|
2019-04-28 17:31:18 +00:00
|
|
|
PYTHONPATH: examples
|
2017-11-01 17:49:32 +00:00
|
|
|
ports:
|
|
|
|
- !Expose { port: 50051, as: 50051 }
|
|
|
|
|
|
|
|
- !Command
|
|
|
|
name: client
|
|
|
|
image: env36
|
|
|
|
run: python3 -m helloworld.client
|
|
|
|
environ:
|
2019-04-28 17:31:18 +00:00
|
|
|
PYTHONPATH: examples
|
2017-11-30 12:53:09 +00:00
|
|
|
|
|
|
|
- !Command
|
|
|
|
name: build docs
|
|
|
|
image: docs
|
|
|
|
run: sphinx-build -b html docs build
|
2018-08-09 15:35:12 +00:00
|
|
|
environ:
|
|
|
|
PYTHONPATH: .
|
2018-10-24 13:52:45 +00:00
|
|
|
|
|
|
|
- !Command
|
|
|
|
name: test36
|
|
|
|
image: env36
|
|
|
|
run: py.test
|
|
|
|
environ:
|
|
|
|
PYTHONPATH: .
|
2019-05-21 15:01:05 +00:00
|
|
|
|
|
|
|
- !Command
|
|
|
|
name: test37
|
|
|
|
image: env37
|
|
|
|
run: py.test
|
|
|
|
environ:
|
|
|
|
PYTHONPATH: .
|
|
|
|
|
|
|
|
- !Command
|
|
|
|
name: test38
|
|
|
|
image: env38
|
|
|
|
run: py.test
|
|
|
|
environ:
|
|
|
|
PYTHONPATH: .
|