diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3f4a9b7af5..82176a1bfd 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -106,7 +106,15 @@ variables: # TODO: This next line should not be debian-only. - if [ "$STEM" = yes ]; then git clone --depth 1 https://gitlab.torproject.org/tpo/network-health/stem.git ; export STEM_PATH="$(pwd)/stem"; fi # TODO: This next line should not be debian-only. - - if [ "$CHUTNEY" = yes ]; then git clone --depth 1 https://gitlab.torproject.org/tpo/core/chutney.git ; export CHUTNEY_PATH="$(pwd)/chutney"; fi + - | + if [ "$CHUTNEY" = yes ]; then + git clone --depth 1 https://gitlab.torproject.org/tpo/core/chutney.git + export CHUTNEY_PATH="$(pwd)/chutney" + # Have pip install chutney's python dependencies by installing chutney + # itself. + apt-get install python3-pip + pip3 install --user ./chutney + fi - if [ "$TRACING" = yes ]; then apt install liblttng-ust-dev; fi # Minimal check on debian: just make, make check. @@ -270,4 +278,4 @@ rust-latest: - rustup show - cargo clippy --all-features --all-targets -- -D warnings after_script: - - cargo clean \ No newline at end of file + - cargo clean