about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAidan Hobson Sayers <aidanhs@cantab.net>2017-06-28 23:05:29 +0100
committerAidan Hobson Sayers <aidanhs@cantab.net>2017-06-28 23:36:34 +0100
commit984e76468b34c6874220cc2fbce9dc2f98c6eecc (patch)
tree2f59b4e6326c805d0bf5a2c5533d6b9d454bcca2
parentb689e46c628ea8f71f45709c969b19c220baa49c (diff)
downloadrust-984e76468b34c6874220cc2fbce9dc2f98c6eecc.tar.gz
rust-984e76468b34c6874220cc2fbce9dc2f98c6eecc.zip
Record some details to help with possible bad clocks
-rw-r--r--.travis.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index 96163c75c9d..21877ecb43e 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -179,8 +179,14 @@ before_script:
           fi
       fi
 
+# Log time information from this machine and an external machine for insight into possible
+# clock drift. Timezones don't matter since relative deltas give all the necessary info.
 script:
+  - >
+      date && curl -s --head https://google.com | grep ^Date: | sed 's/Date: //g'
   - stamp sh -x -c "$RUN_SCRIPT"
+  - >
+      date && curl -s --head https://google.com | grep ^Date: | sed 's/Date: //g'
 
 after_success:
   - >