mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-22 22:27:17 +00:00
chg: [install vitualenv] remove travis env
This commit is contained in:
parent
90862c4834
commit
5ffc232e0d
1 changed files with 2 additions and 14 deletions
|
@ -18,22 +18,10 @@ if [ -z "$VIRTUAL_ENV" ]; then
|
||||||
|
|
||||||
fi
|
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}"
|
|
||||||
|
|
||||||
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
|
# activate virtual environment
|
||||||
. ./AILENV/bin/activate
|
. ./AILENV/bin/activate
|
||||||
fi
|
|
||||||
|
|
||||||
pip3 install -U pip
|
pip3 install -U pip
|
||||||
pip3 install 'git+https://github.com/D4-project/BGP-Ranking.git/@7e698f87366e6f99b4d0d11852737db28e3ddc62#egg=pybgpranking&subdirectory=client'
|
pip3 install 'git+https://github.com/D4-project/BGP-Ranking.git/@7e698f87366e6f99b4d0d11852737db28e3ddc62#egg=pybgpranking&subdirectory=client'
|
||||||
|
|
Loading…
Reference in a new issue