From: flip1995 Date: Fri, 12 Jul 2019 08:58:06 +0000 (+0200) Subject: Add master toolchain binaries to the PATH X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=2991f31c171f88e9feeb3e4fea157d89edb41dd4;hp=ac6e52a91c1baf8eaaaf1fedcae6267fb16128fd;p=rust.git Add master toolchain binaries to the PATH --- diff --git a/.travis.yml b/.travis.yml index 2e8e205d43b..b2ad9d5b7e5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -91,7 +91,11 @@ script: - | rm rust-toolchain ./setup-toolchain.sh - export LD_LIBRARY_PATH=$(rustc --print sysroot)/lib + if [ "$TRAVIS_OS_NAME" == "windows" ]; then + export PATH=$PATH:$(rustc --print sysroot)/bin + else + export LD_LIBRARY_PATH=$(rustc --print sysroot)/lib + fi - | if [ -z ${INTEGRATION} ]; then travis_wait 30 ./ci/base-tests.sh && sleep 5