mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-03-25 08:55:50 +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
|
||||
# TODO: ETESYNC_TESTS
|
||||
tasks:
|
||||
- venv: |
|
||||
python -m venv $HOME/venv
|
||||
echo "export PATH=$HOME/venv/bin:$PATH" >> $HOME/.buildenv
|
||||
- setup: |
|
||||
sudo systemctl start docker
|
||||
cd vdirsyncer
|
||||
|
|
|
|||
|
|
@ -17,6 +17,9 @@ environment:
|
|||
REQUIREMENTS: release
|
||||
# TODO: ETESYNC_TESTS
|
||||
tasks:
|
||||
- venv: |
|
||||
python -m venv $HOME/venv
|
||||
echo "export PATH=$HOME/venv/bin:$PATH" >> $HOME/.buildenv
|
||||
- setup: |
|
||||
sudo systemctl start docker
|
||||
cd vdirsyncer
|
||||
|
|
|
|||
Loading…
Reference in a new issue