File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -36,16 +36,14 @@ addons:
36
36
- ccache
37
37
ssh_known_hosts : 13.229.163.131
38
38
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
39
41
- |
40
42
function timeout() { perl -e 'alarm shift; exec @ARGV' "$@"; }
41
43
script :
42
44
- |
43
45
# 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;
49
47
if [ $? -eq 0 ] || [ $? -eq 142 ]; then true; else exit 1; fi;
50
48
- |
51
49
if [[ "$JOB" != "doc" ]]; then exit 0; fi;
You can’t perform that action at this time.
0 commit comments