File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 1212 - JOB=DOCS
1313 - JOB=BUILD_AND_TEST
1414 - JOB=PRE_COMMIT
15-
1615addons :
1716 apt :
1817 packages :
@@ -49,8 +48,12 @@ before_install:
4948 # Paddle is using protobuf 3.1 currently. Protobuf 3.2 breaks the compatibility. So we specify the python
5049 # protobuf version.
5150 - pip install numpy wheel 'protobuf==3.1' sphinx recommonmark sphinx-rtd-theme==0.1.9 virtualenv pre-commit requests==2.9.2 LinkChecker
51+ - |
52+ function timeout() { perl -e 'alarm shift; exec @ARGV' "$@"; }
5253script :
53- - paddle/scripts/travis/main.sh
54+ - |
55+ timeout 2580 paddle/scripts/travis/main.sh # 43min timeout
56+ RESULT=$?; if [ $RESULT -eq 0 ] || [ $RESULT -eq 142 ]; then true; else false; fi;
5457notifications :
5558 email :
5659 on_success : change
You can’t perform that action at this time.
0 commit comments