fix: use python virtualenv
This commit is contained in:
parent
ae6651e624
commit
f47c0867d3
1 changed files with 3 additions and 2 deletions
|
@ -13,13 +13,14 @@ steps:
|
|||
integration_tests:
|
||||
image: python
|
||||
commands:
|
||||
- pip install -r requirements.txt
|
||||
- pip install virtualenv
|
||||
- . venv/bin/activate && pip install -r requirements.txt
|
||||
- nohup ./target/debug/main --id 1 --http-addr 127.0.0.1:9001 --introducer-addr 127.0.0.1:9001 --introducer-id 1 --cluster-size 3 &
|
||||
- sleep 1
|
||||
- nohup ./target/debug/main --id 2 --http-addr 127.0.0.1:9002 --introducer-addr 127.0.0.1:9001 --introducer-id 1 --cluster-size 3 &
|
||||
- sleep 1
|
||||
- nohup ./target/debug/main --id 3 --http-addr 127.0.0.1:9003 --introducer-addr 127.0.0.1:9001 --introducer-id 1 --cluster-size 3 &
|
||||
- python tests/test.py
|
||||
- . venv/bin/activate && python tests/test.py
|
||||
|
||||
build_docker_img:
|
||||
image: plugins/docker
|
||||
|
|
Loading…
Reference in a new issue