Cirrus: Use VM instead of Docker for functional tests
This commit is contained in:
@@ -88,13 +88,15 @@ task:
|
|||||||
|
|
||||||
task:
|
task:
|
||||||
name: Regtest functional tests
|
name: Regtest functional tests
|
||||||
container:
|
compute_engine_instance:
|
||||||
image: $ELECTRUM_IMAGE
|
image_project: cirrus-images
|
||||||
|
image: family/docker-builder
|
||||||
|
platform: linux
|
||||||
cpu: 1
|
cpu: 1
|
||||||
memory: 1G
|
memory: 1G
|
||||||
pip_cache:
|
pip_cache:
|
||||||
folder: ~/.cache/pip
|
folder: ~/.cache/pip
|
||||||
fingerprint_script: echo Regtest && echo $ELECTRUM_IMAGE && cat $ELECTRUM_REQUIREMENTS
|
fingerprint_script: echo Regtest && echo docker_builder && cat $ELECTRUM_REQUIREMENTS
|
||||||
populate_script: mkdir -p ~/.cache/pip
|
populate_script: mkdir -p ~/.cache/pip
|
||||||
electrum_cache:
|
electrum_cache:
|
||||||
folder: /tmp/electrum-build
|
folder: /tmp/electrum-build
|
||||||
@@ -121,7 +123,6 @@ task:
|
|||||||
- sleep 10s
|
- sleep 10s
|
||||||
- python3 -m unittest electrum/tests/regtest.py
|
- python3 -m unittest electrum/tests/regtest.py
|
||||||
env:
|
env:
|
||||||
ELECTRUM_IMAGE: python:3.7
|
|
||||||
ELECTRUM_REQUIREMENTS: contrib/requirements/requirements-travis.txt
|
ELECTRUM_REQUIREMENTS: contrib/requirements/requirements-travis.txt
|
||||||
# ElectrumX exits with an error without this:
|
# ElectrumX exits with an error without this:
|
||||||
ALLOW_ROOT: 1
|
ALLOW_ROOT: 1
|
||||||
|
|||||||
Reference in New Issue
Block a user