Skip to content

Commit 7cfd4e4

Browse files
authored
CI: add missing python package. (#10307)
1 parent 7385854 commit 7cfd4e4

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.travis.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,16 +36,14 @@ addons:
3636
- ccache
3737
ssh_known_hosts: 13.229.163.131
3838
before_install:
39+
- sudo pip install -r $TRAVIS_BUILD_DIR/python/requirements.txt
40+
- sudo pip install wheel sphinx==1.5.6 recommonmark sphinx-rtd-theme==0.1.9 virtualenv pre-commit
3941
- |
4042
function timeout() { perl -e 'alarm shift; exec @ARGV' "$@"; }
4143
script:
4244
- |
4345
# 43min timeout
44-
if [[ "$JOB" != "doc" ]]; then
45-
timeout 2580 paddle/scripts/paddle_docker_build.sh ${JOB}
46-
else
47-
timeout 2580 paddle/scritps/paddle_build.sh doc
48-
fi
46+
if [[ "$JOB" != "doc" ]]; then timeout 2580 paddle/scripts/paddle_docker_build.sh ${JOB}; else timeout 2580 paddle/scritps/paddle_build.sh ${JOB}; fi;
4947
if [ $? -eq 0 ] || [ $? -eq 142 ]; then true; else exit 1; fi;
5048
- |
5149
if [[ "$JOB" != "doc" ]]; then exit 0; fi;

0 commit comments

Comments
 (0)