Skip to content

Commit 36b1beb

Browse files
committed
Merge branch 'release/0.10.0' of github.com:baidu/Paddle into feature/fix_bug_in_paddle_mirror
2 parents 771bbe6 + 89f2696 commit 36b1beb

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.travis.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ env:
1212
- JOB=DOCS
1313
- JOB=BUILD_AND_TEST
1414
- JOB=PRE_COMMIT
15-
1615
addons:
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' "$@"; }
5253
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;
5457
notifications:
5558
email:
5659
on_success: change

0 commit comments

Comments
 (0)