summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2020-06-04 10:48:04 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2020-06-04 10:48:04 +1000
commit4c872098265aeb8e032309dadb87f66c6b82127c (patch)
tree53602109dbdbc532f6f289bc6e82c2b29c409827
parent55e70c5fd2d8e670e61346c2a1a44ba84c03feb3 (diff)
downloadlibevdev-4c872098265aeb8e032309dadb87f66c6b82127c.tar.gz
gitlab CI: move the pip dependencies to before_script
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r--.gitlab-ci.yml2
-rw-r--r--.gitlab-ci/ci.template2
2 files changed, 2 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index e9e0be1..875a7be 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -165,9 +165,9 @@ check-commit:
stage: prep
before_script:
- apk add python3 py-pip git
- script:
- pip3 install GitPython
- pip3 install pytest
+ script:
- |
pytest --junitxml=results.xml \
--tb=line \
diff --git a/.gitlab-ci/ci.template b/.gitlab-ci/ci.template
index db3f835..45baa63 100644
--- a/.gitlab-ci/ci.template
+++ b/.gitlab-ci/ci.template
@@ -102,9 +102,9 @@ check-commit:
stage: prep
before_script:
- apk add python3 py-pip git
- script:
- pip3 install GitPython
- pip3 install pytest
+ script:
- |
pytest --junitxml=results.xml \
--tb=line \