Skip to content

Commit

Permalink
Add a new job to build smaller library (PaddlePaddle#48)
Browse files Browse the repository at this point in the history
* 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 (PaddlePaddle#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 (PaddlePaddle#2)

* add new file

* Develop doc (PaddlePaddle#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
  • Loading branch information
jetfuel authored Aug 30, 2018
1 parent f42d65a commit bba0dba
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ os:
env:
- JOB=doc
- JOB=lite_lib
- JOB=lite_lib2

addons:
apt:
Expand All @@ -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
# - >
Expand Down
2 changes: 1 addition & 1 deletion external/Paddle
23 changes: 23 additions & 0 deletions scripts/build_doc_lib_lite2.sh
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit bba0dba

Please sign in to comment.