chg: [install vitualenv] remove travis env

pull/586/head
Terrtia 2022-06-21 09:53:19 +02:00
parent 90862c4834
commit 5ffc232e0d
No known key found for this signature in database
GPG Key ID: 1E1B1F50D84613D0
1 changed files with 2 additions and 14 deletions

View File

@ -18,22 +18,10 @@ if [ -z "$VIRTUAL_ENV" ]; then
fi
if [ ! -z "$TRAVIS" ]; then
echo "Travis detected"
ENV_PY="~/virtualenv/python3.6/bin/python"
export AIL_VENV="~/virtualenv/python3.6/"
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd |sed 's/bin//' )"
export AIL_HOME="${DIR}"
# activate virtual environment
. ./AILENV/bin/activate
export AIL_BIN=${AIL_HOME}/bin/
export AIL_FLASK=${AIL_HOME}/var/www/
export AIL_REDIS=${AIL_HOME}/redis/src/
export AIL_ARDB=${AIL_HOME}/ardb/src/
else
# activate virtual environment
. ./AILENV/bin/activate
fi
pip3 install -U pip
pip3 install 'git+https://github.com/D4-project/BGP-Ranking.git/@7e698f87366e6f99b4d0d11852737db28e3ddc62#egg=pybgpranking&subdirectory=client'