mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-04-27 14:57:41 +00:00
ci: use virtualenvs for jobs that use pip
Pip now refuses to tamper with the system python installation.
This commit is contained in:
parent
7403182645
commit
7e5910a341
2 changed files with 6 additions and 0 deletions
|
|
@ -18,6 +18,9 @@ environment:
|
||||||
REQUIREMENTS: minimal
|
REQUIREMENTS: minimal
|
||||||
# TODO: ETESYNC_TESTS
|
# TODO: ETESYNC_TESTS
|
||||||
tasks:
|
tasks:
|
||||||
|
- venv: |
|
||||||
|
python -m venv $HOME/venv
|
||||||
|
echo "export PATH=$HOME/venv/bin:$PATH" >> $HOME/.buildenv
|
||||||
- setup: |
|
- setup: |
|
||||||
sudo systemctl start docker
|
sudo systemctl start docker
|
||||||
cd vdirsyncer
|
cd vdirsyncer
|
||||||
|
|
|
||||||
|
|
@ -17,6 +17,9 @@ environment:
|
||||||
REQUIREMENTS: release
|
REQUIREMENTS: release
|
||||||
# TODO: ETESYNC_TESTS
|
# TODO: ETESYNC_TESTS
|
||||||
tasks:
|
tasks:
|
||||||
|
- venv: |
|
||||||
|
python -m venv $HOME/venv
|
||||||
|
echo "export PATH=$HOME/venv/bin:$PATH" >> $HOME/.buildenv
|
||||||
- setup: |
|
- setup: |
|
||||||
sudo systemctl start docker
|
sudo systemctl start docker
|
||||||
cd vdirsyncer
|
cd vdirsyncer
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue