]> git.lizzy.rs Git - rust.git/blobdiff - .travis.yml
Auto merge of #57520 - alexreg:tidy-copyright-lint, r=Mark-Simulacrum
[rust.git] / .travis.yml
index 9e46e6b8ef6b15a39e7d2b472befb604b5ad2e06..c4efa88460325cafdb42f84d15e1e8938f97cfc4 100644 (file)
@@ -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.