summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitlab-ci.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index e0c7c323..85d660e6 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -29,8 +29,8 @@ unified_test:
- export PATH="$PATH:$CARGO_HOME/bin"
- apt update -qy
- apt install -y python3-dev python3-pip python3-wheel python3-requests python3-six python3-pytest libsnappy-dev libsodium-dev software-properties-common python3.7 python3.7-dev python3.7-venv python3.7-distutils libpq-dev
- - cargo install diesel_cli --version 1.3.1 --no-default-features --features postgres
- - pip3 install pipenv
+ - diesel --version || cargo install diesel_cli --version 1.3.1 --no-default-features --features postgres
+ - pipenv --version || python3.7 -m pip install pipenv
- pipenv --version
script:
- rustc --version && cargo --version && diesel --version