[前][次][番号順一覧][スレッド一覧]

ruby-changes:56629

From: Nobuyoshi <ko1@a...>
Date: Tue, 23 Jul 2019 22:47:10 +0900 (JST)
Subject: [ruby-changes:56629] Nobuyoshi Nakada: 676df311d9 (master): Reset mtime of all files on osx

https://git.ruby-lang.org/ruby.git/commit/?id=676df311d9

From 676df311d90990a4666adb5b1db4c7aa6b080e57 Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Tue, 23 Jul 2019 20:51:23 +0900
Subject: Reset mtime of all files on osx

Often checked out files are in the future on OSX image.

diff --git a/.travis.yml b/.travis.yml
index 53f5caa..683a58b 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -341,6 +341,8 @@ env: https://github.com/ruby/ruby/blob/trunk/.travis.yml#L341
       - 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: https://github.com/ruby/ruby/blob/trunk/.travis.yml#L422
   - "> 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
   - |-
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]