diff --git a/.travis.yml b/.travis.yml index ccab516189044741e083b7034530f3737b5470e9..9aa97324a4f1096f0f7827b65e150416a094f257 100644 --- a/.travis.yml +++ b/.travis.yml @@ -17,6 +17,7 @@ os: env: - JOB=doc - JOB=lite_lib + - JOB=lite_lib2 addons: apt: @@ -39,6 +40,9 @@ script: if [ $JOB == "lite_lib" ]; then scripts/build_doc_lib_lite.sh fi + + if [ $JOB == "lite_lib2" ]; then scripts/build_doc_lib_lite2.sh + fi #before_cache: # # Save tagged docker images # - > diff --git a/external/Paddle b/external/Paddle index 6f68fe71d60d4339e407b9fd1fd13990fb30c67a..79c65d16626e690e4d1c40063bdabf8eed5ad2a7 160000 --- a/external/Paddle +++ b/external/Paddle @@ -1 +1 @@ -Subproject commit 6f68fe71d60d4339e407b9fd1fd13990fb30c67a +Subproject commit 79c65d16626e690e4d1c40063bdabf8eed5ad2a7 diff --git a/scripts/build_doc_lib_lite2.sh b/scripts/build_doc_lib_lite2.sh new file mode 100755 index 0000000000000000000000000000000000000000..f52982037eeb7947064871a971947067e88e9f51 --- /dev/null +++ b/scripts/build_doc_lib_lite2.sh @@ -0,0 +1,23 @@ +#!/usr/bin/env bash + +# Copyright (c) 2018 PaddlePaddle Authors. All Rights Reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +echo "Build Paddle library lite2" +cd external/Paddle +git branch +paddle/scripts/paddle_docker_build.sh gen_doc_lib_lite2 +cd ../.. + +exit_code=0