X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=.travis.yml;h=c4efa88460325cafdb42f84d15e1e8938f97cfc4;hb=659994627234ce7d95a1a52ad8756ce661059adf;hp=9e46e6b8ef6b15a39e7d2b472befb604b5ad2e06;hpb=9966590422ed3e6bd97bc1967b7435a03cfb949b;p=rust.git diff --git a/.travis.yml b/.travis.yml index 9e46e6b8ef6..c4efa884603 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,6 @@ language: shell sudo: required -dist: trusty +dist: xenial services: - docker addons: @@ -248,6 +248,15 @@ before_script: # Enable core dump on Linux. sudo sh -c 'echo "/checkout/obj/cores/core.%p.%E" > /proc/sys/kernel/core_pattern'; fi + - > + if [ "$IMAGE" = mingw-check ]; then + # verify the publish_toolstate script works. + git clone --depth=1 https://github.com/rust-lang-nursery/rust-toolstate.git; + cd rust-toolstate; + python2.7 "$TRAVIS_BUILD_DIR/src/tools/publish_toolstate.py" "$(git rev-parse HEAD)" "$(git log --format=%s -n1 HEAD)" "" ""; + cd ..; + rm -rf rust-toolstate; + 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.