提交 3ecc63ad 编写于 作者: L liaogang

Add python in travis ci for paddle version command

上级 fc47492f
...@@ -25,7 +25,9 @@ addons: ...@@ -25,7 +25,9 @@ addons:
- git - git
- build-essential - build-essential
- libatlas-base-dev - libatlas-base-dev
- python
- python-pip - python-pip
- python2.7-dev
- curl - curl
- graphviz - graphviz
- clang-format-3.8 - clang-format-3.8
......
add_test(NAME test_swig_api add_test(NAME test_swig_api
COMMAND bash ${PROJ_ROOT}/paddle/api/test/run_tests.sh ${PYTHON_EXECUTABLE} ${PYTHON_INSTALL_DIR}/bin/pip) COMMAND bash ${PROJ_ROOT}/paddle/api/test/run_tests.sh ${PYTHON_EXECUTABLE})
...@@ -20,10 +20,6 @@ popd > /dev/null ...@@ -20,10 +20,6 @@ popd > /dev/null
cd $SCRIPTPATH cd $SCRIPTPATH
# rm -rf .test_env
# virtualenv .test_env
# source .test_env/bin/activate
$1 -m pip install ../../dist/*.whl $1 -m pip install ../../dist/*.whl
test_list="testArguments.py testGradientMachine.py testMatrix.py testVector.py testTrain.py testTrainer.py" test_list="testArguments.py testGradientMachine.py testMatrix.py testVector.py testTrain.py testTrainer.py"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册