提交 ec6068b1 编写于 作者: Y Yu Yang

Tinker with TravisCI

上级 f0612b4e
...@@ -24,6 +24,8 @@ PYTHON=$1; shift ...@@ -24,6 +24,8 @@ PYTHON=$1; shift
if [ $USE_VIRTUALENV_FOR_TEST -ne 0 ]; then if [ $USE_VIRTUALENV_FOR_TEST -ne 0 ]; then
rm -rf .test_env rm -rf .test_env
virtualenv .test_env virtualenv .test_env
unset PYTHONHOME
unset PYTHONPATH
source .test_env/bin/activate source .test_env/bin/activate
PYTHON=python PYTHON=python
fi fi
...@@ -32,6 +34,8 @@ $PYTHON -m pip install $SCRIPTPATH/../dist/*.whl ...@@ -32,6 +34,8 @@ $PYTHON -m pip install $SCRIPTPATH/../dist/*.whl
if [ "X${PADDLE_PACKAGE_DIR}" != "X" ]; then if [ "X${PADDLE_PACKAGE_DIR}" != "X" ]; then
$PYTHON -m pip install ${PADDLE_PACKAGE_DIR}/*.whl $PYTHON -m pip install ${PADDLE_PACKAGE_DIR}/*.whl
else
export PYTHONPATH=$SCRIPTPATH/../../python/
fi fi
$PYTHON -m pip install ipython==5.3 $PYTHON -m pip install ipython==5.3
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册