mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-06-03 10:50:20 +00:00
travis: Fix build errors due to change to non-system python
When virtualenv creates a environment with --python=python3, it was earlier picking Python 3 from system at /usr/bin/python3. Due to recent changes in Travis, now it picks up from Python 3.6.1 from /opt. This new Python does not take into account system packages which are being installed via apt. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: Joseph Nuthalapati <njoseph@riseup.net>
This commit is contained in:
parent
b6e6fdd134
commit
3b7b271293
@ -14,7 +14,7 @@ before_install:
|
||||
|
||||
# Command to install dependencies
|
||||
install:
|
||||
- virtualenv --python=python3 --system-site-packages _venv
|
||||
- virtualenv --python=/usr/bin/python3 --system-site-packages _venv
|
||||
- source _venv/bin/activate
|
||||
- pip install Django$DJANGO_VERSION
|
||||
- pip install coverage==3.7
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user