Skip to content

Commit

Permalink
Record some details to help with possible bad clocks
Browse files Browse the repository at this point in the history
  • Loading branch information
aidanhs committed Jun 28, 2017
1 parent b689e46 commit 984e764
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .travis.yml
Expand Up @@ -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:
- >
Expand Down

0 comments on commit 984e764

Please sign in to comment.