Add master toolchain binaries to the PATH

This commit is contained in:
flip1995 2019-07-12 10:58:06 +02:00
parent ac6e52a91c
commit 2991f31c17
No known key found for this signature in database
GPG Key ID: 693086869D506637

View 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