summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2019-07-23 20:51:23 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2019-07-23 22:46:03 +0900
commit676df311d90990a4666adb5b1db4c7aa6b080e57 (patch)
tree52159834cd1da0ec904982c7947518d9a4ce3844 /.travis.yml
parent03958a0c0d0140a2c27f8e3175f9c118425c762c (diff)
Reset mtime of all files on osx
Often checked out files are in the future on OSX image.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml10
1 files changed, 4 insertions, 6 deletions
diff --git a/.travis.yml b/.travis.yml
index 53f5caa34d..683a58baba 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -341,6 +341,8 @@ 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=
+ # Reset timestamps earily, before updating Homebrew etc.
+ - _=$(touch NEWS && find . -type f -exec touch -r NEWS {} +)
- &dependency
name: Check dependencies in makefiles
@@ -420,12 +422,8 @@ before_script:
- "> config.status"
- "> .rbconfig.time"
- sed -f tool/prereq.status template/Makefile.in common.mk > Makefile
- - |-
- for i in 1 2 3; do
- date; make touch-unicode-files || break
- ls -ltT tool/generic_erb.rb template/unicode_norm_gen.tmpl enc/unicode/data/*/ucd/.unicode-tables.time
- date; make -s $JOBS $UPDATE_UNICODE up && break
- done
+ - date; make touch-unicode-files
+ - date; make -s $JOBS $UPDATE_UNICODE up
- date; make -s $JOBS srcs
- rm -f config.status Makefile rbconfig.rb .rbconfig.time
- |-