X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=.travis.yml;h=7985b6c0e191f770815fc37d4ee7a7f4ce154020;hb=d1731801163df1d3a8d4ddfa68adac2ec833ef7f;hp=3f2e43ab86d90b1159edee7c4986a48bb2631aa7;hpb=6d3501ebe3b2395456c90d7c6147ce5a8244979d;p=rust.git diff --git a/.travis.yml b/.travis.yml index 3f2e43ab86d..7985b6c0e19 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,6 @@ language: shell sudo: required -dist: trusty +dist: xenial services: - docker addons: @@ -16,7 +16,7 @@ matrix: fast_finish: true include: # Images used in testing PR and try-build should be run first. - - env: IMAGE=x86_64-gnu-llvm-5.0 RUST_BACKTRACE=1 + - env: IMAGE=x86_64-gnu-llvm-6.0 RUST_BACKTRACE=1 if: type = pull_request OR branch = auto - env: IMAGE=dist-x86_64-linux DEPLOY=1 @@ -168,7 +168,7 @@ matrix: if: branch = auto - env: IMAGE=i686-gnu-nopt if: branch = auto - - env: IMAGE=wasm32-unknown + - env: IMAGE=test-various if: branch = auto - env: IMAGE=x86_64-gnu if: branch = auto @@ -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.