mirror of
https://github.com/google/brotli.git
synced 2024-11-22 19:50:06 +00:00
.travis.sh: activate virtualenv before calling python or pip commands
This commit is contained in:
parent
014f651114
commit
a5bf2c0bdd
@ -36,6 +36,7 @@ case "$1" in
|
||||
ctest -V
|
||||
;;
|
||||
"python")
|
||||
source venv/bin/activate
|
||||
python setup.py build_ext test
|
||||
;;
|
||||
esac
|
||||
@ -43,6 +44,7 @@ case "$1" in
|
||||
"after_success")
|
||||
case "${BUILD_SYSTEM}" in
|
||||
"python")
|
||||
source venv/bin/activate
|
||||
pip wheel -w dist .
|
||||
;;
|
||||
esac
|
||||
|
Loading…
Reference in New Issue
Block a user