Skip to content
Snippets Groups Projects
Unverified Commit 9c1f0e7d authored by Andrej Shadura's avatar Andrej Shadura
Browse files

fixup! Test with three different osc versions

parent 6fbacbe1
No related branches found
No related tags found
No related merge requests found
Pipeline #98143 failed
...@@ -38,13 +38,14 @@ test: ...@@ -38,13 +38,14 @@ test:
- 0.182.0 - 0.182.0
- 1.6.2 - 1.6.2
script: script:
- apt install -y ./_build/*deb dpkg-dev python3-pip - apt-get install osc dpkg-dev python3-pip
- | - |
if [ "$OSC_VERSION" != default ] if [ "$OSC_VERSION" != default ]
then then
rm -rf /usr/lib/python3/dist-packages/osc* rm -rf /usr/lib/python3/dist-packages/osc*
pip install --user --break-system-packages "osc==$OSC_VERSION" pip install --user --break-system-packages "osc==$OSC_VERSION"
fi fi
- apt-get install -y ./_build/*deb
- mkdir -p "$HOME" - mkdir -p "$HOME"
- | - |
cat > ~/.oscrc <<EOF cat > ~/.oscrc <<EOF
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment