Skip to content

Commit bba0dba

Browse files
authored
Add a new job to build smaller library (#48)
* Start over * Added basic docs Added .travis.yml Added scripts to build documentation on the Travis. * Disable several deploy script commend for testing. * fixed the deploy_docs.sh script. * Update travis.yml * Renamed docs to doc * update .gitignore. * Delete .gitignore * Update .travis.yml * Update .travis.yml * Update deploy_docs.sh * Update .travis.yml * Develop doc (#1) * Add paddle submodule * Update the build script. * Update script * Use gen_doc_lib instead. * Move files around * cache external * Update submodule * try to cache batch 1 * add test code * Update Paddle submodule * Update submodule * update script to print more * update python path * test * test * test * clean up the code * Update Script (#2) * add new file * Develop doc (#3) * Add the rest of the submodules into the system * Provide first symlink fit a line * Update the rest of book to symlinks * add models submodule * Add link for models * Update deploy_docs * update to use lite 2
1 parent f42d65a commit bba0dba

File tree

3 files changed

+28
-1
lines changed

3 files changed

+28
-1
lines changed

.travis.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ os:
1717
env:
1818
- JOB=doc
1919
- JOB=lite_lib
20+
- JOB=lite_lib2
2021

2122
addons:
2223
apt:
@@ -39,6 +40,9 @@ script:
3940
4041
if [ $JOB == "lite_lib" ]; then scripts/build_doc_lib_lite.sh
4142
fi
43+
44+
if [ $JOB == "lite_lib2" ]; then scripts/build_doc_lib_lite2.sh
45+
fi
4246
#before_cache:
4347
# # Save tagged docker images
4448
# - >

external/Paddle

scripts/build_doc_lib_lite2.sh

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
#!/usr/bin/env bash
2+
3+
# Copyright (c) 2018 PaddlePaddle Authors. All Rights Reserved.
4+
#
5+
# Licensed under the Apache License, Version 2.0 (the "License");
6+
# you may not use this file except in compliance with the License.
7+
# You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing, software
12+
# distributed under the License is distributed on an "AS IS" BASIS,
13+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
# See the License for the specific language governing permissions and
15+
# limitations under the License.
16+
17+
echo "Build Paddle library lite2"
18+
cd external/Paddle
19+
git branch
20+
paddle/scripts/paddle_docker_build.sh gen_doc_lib_lite2
21+
cd ../..
22+
23+
exit_code=0

0 commit comments

Comments
 (0)