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 12
12
- JOB=DOCS
13
13
- JOB=BUILD_AND_TEST
14
14
- JOB=PRE_COMMIT
15
-
16
15
addons :
17
16
apt :
18
17
packages :
@@ -49,8 +48,12 @@ before_install:
49
48
# Paddle is using protobuf 3.1 currently. Protobuf 3.2 breaks the compatibility. So we specify the python
50
49
# protobuf version.
51
50
- 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' "$@"; }
52
53
script :
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;
54
57
notifications :
55
58
email :
56
59
on_success : change
You can’t perform that action at this time.
0 commit comments