]> git.lizzy.rs Git - rust.git/commitdiff
Add master toolchain binaries to the PATH
authorflip1995 <hello@philkrones.com>
Fri, 12 Jul 2019 08:58:06 +0000 (10:58 +0200)
committerflip1995 <hello@philkrones.com>
Sat, 13 Jul 2019 10:48:42 +0000 (12:48 +0200)
.travis.yml

index 2e8e205d43b243c9d073cc3d875aca6a95650562..b2ad9d5b7e593a1d305cbb7cc25e9e3daaac0bfc 100644 (file)
@@ -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