From b689e46c628ea8f71f45709c969b19c220baa49c Mon Sep 17 00:00:00 2001 From: Aidan Hobson Sayers Date: Wed, 28 Jun 2017 22:54:05 +0100 Subject: [PATCH 1/2] Stamp the whole build script --- .travis.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index b95196da356..96163c75c9d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -171,16 +171,16 @@ before_script: if [[ "$SKIP_BUILD" == true ]]; then export RUN_SCRIPT="echo 'skipping, not a full build'"; else - RUN_SCRIPT="stamp src/ci/init_repo.sh . $HOME/rustsrc"; + RUN_SCRIPT="src/ci/init_repo.sh . $HOME/rustsrc"; if [ "$TRAVIS_OS_NAME" = "osx" ]; then - export RUN_SCRIPT="$RUN_SCRIPT && stamp src/ci/run.sh"; + export RUN_SCRIPT="$RUN_SCRIPT && src/ci/run.sh"; else - export RUN_SCRIPT="$RUN_SCRIPT && stamp src/ci/docker/run.sh $IMAGE"; + export RUN_SCRIPT="$RUN_SCRIPT && src/ci/docker/run.sh $IMAGE"; fi fi script: - - sh -x -c "$RUN_SCRIPT" + - stamp sh -x -c "$RUN_SCRIPT" after_success: - > From 984e76468b34c6874220cc2fbce9dc2f98c6eecc Mon Sep 17 00:00:00 2001 From: Aidan Hobson Sayers Date: Wed, 28 Jun 2017 23:05:29 +0100 Subject: [PATCH 2/2] Record some details to help with possible bad clocks --- .travis.yml | 6 ++++++ 1 file changed, 6 insertions(+) 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: - >