mirror of
https://github.com/ail-project/ail-framework.git
synced 2025-01-31 06:26:14 +00:00
fix: [travis] virtualenv
This commit is contained in:
parent
5c1de2d09f
commit
060337ee9d
2 changed files with 5 additions and 3 deletions
|
@ -15,9 +15,9 @@ if [ -z "$VIRTUAL_ENV" ]; then
|
|||
echo export AIL_FLASK=$(pwd)/var/www/ >> ./AILENV/bin/activate
|
||||
echo export AIL_REDIS=$(pwd)/redis/src/ >> ./AILENV/bin/activate
|
||||
echo export AIL_ARDB=$(pwd)/ardb/src/ >> ./AILENV/bin/activate
|
||||
fi
|
||||
|
||||
. ./AILENV/bin/activate
|
||||
fi
|
||||
|
||||
pip3 install -U pip
|
||||
pip3 install 'git+https://github.com/D4-project/BGP-Ranking.git/@7e698f87366e6f99b4d0d11852737db28e3ddc62#egg=pybgpranking&subdirectory=client'
|
||||
|
|
|
@ -89,7 +89,9 @@ fi
|
|||
./install_virtualenv.sh
|
||||
|
||||
# force virtualenv activation
|
||||
if [ -z "$VIRTUAL_ENV" ]; then
|
||||
. ./AILENV/bin/activate
|
||||
fi
|
||||
|
||||
pushd ${AIL_BIN}/helper/gen_cert
|
||||
./gen_root.sh
|
||||
|
|
Loading…
Add table
Reference in a new issue