提交 67b577d1 编写于 作者: B barrierye

fix ci script

上级 edf86458
...@@ -501,6 +501,11 @@ function python_test_lac() { ...@@ -501,6 +501,11 @@ function python_test_lac() {
function java_run_test() { function java_run_test() {
# pwd: /Serving # pwd: /Serving
local TYPE=$1
export SERVING_BIN=${SERVING_WORKDIR}/build-server-${TYPE}/core/general-server/serving
unsetproxy
case $TYPE in
CPU)
# compile java sdk # compile java sdk
cd java # pwd: /Serving/java cd java # pwd: /Serving/java
mvn compile > /dev/null mvn compile > /dev/null
...@@ -510,11 +515,6 @@ function java_run_test() { ...@@ -510,11 +515,6 @@ function java_run_test() {
mvn compile > /dev/null mvn compile > /dev/null
mvn install > /dev/null mvn install > /dev/null
local TYPE=$1
export SERVING_BIN=${SERVING_WORKDIR}/build-server-${TYPE}/core/general-server/serving
unsetproxy
case $TYPE in
CPU)
# fit_a_line (general, asyn_predict, batch_predict) # fit_a_line (general, asyn_predict, batch_predict)
cd ../../python/examples/grpc_impl_example/fit_a_line # pwd: /Serving/python/examples/grpc_impl_example/fit_a_line cd ../../python/examples/grpc_impl_example/fit_a_line # pwd: /Serving/python/examples/grpc_impl_example/fit_a_line
sh get_data.sh sh get_data.sh
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册