mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Force-fetch unicode update only when it's needed
nobu said that we could be banned if we aggressively downloaded unicode file from Travis.
This commit is contained in:
parent
929fa856ef
commit
d1e2650aca
1 changed files with 6 additions and 3 deletions
|
@ -334,8 +334,6 @@ env:
|
|||
- TEST_ALL_ISOLATED_TESTS="../test/ruby/test_gc_compact.rb"
|
||||
# Disabling -j3 because it seems to cause a hang on building Ruby: https://travis-ci.org/ruby/ruby/jobs/471021727
|
||||
- JOBS=
|
||||
# Prevent random failure by missing build dependency like https://travis-ci.org/ruby/ruby/jobs/558571461
|
||||
- ALWAYS_UPDATE_UNICODE=yes
|
||||
|
||||
- &dependency
|
||||
name: Check dependencies in makefiles
|
||||
|
@ -415,7 +413,12 @@ before_script:
|
|||
- "> .rbconfig.time"
|
||||
- sed -f tool/prereq.status template/Makefile.in common.mk > Makefile
|
||||
- date; make touch-unicode-files
|
||||
- date; make -s $JOBS $UPDATE_UNICODE up
|
||||
- |-
|
||||
date
|
||||
if ! make -s $JOBS $UPDATE_UNICODE up; then
|
||||
# Prevent random failure by missing build dependency like https://travis-ci.org/ruby/ruby/jobs/558571461
|
||||
make -s $JOBS $UPDATE_UNICODE ALWAYS_UPDATE_UNICODE=yes up
|
||||
fi
|
||||
- date; make -s $JOBS srcs
|
||||
- rm -f config.status Makefile rbconfig.rb .rbconfig.time
|
||||
- |-
|
||||
|
|
Loading…
Add table
Reference in a new issue