From 676df311d90990a4666adb5b1db4c7aa6b080e57 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Tue, 23 Jul 2019 20:51:23 +0900 Subject: [PATCH] Reset mtime of all files on osx Often checked out files are in the future on OSX image. --- .travis.yml | 10 ++++------ 1 file 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 - |-