mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-27 15:11:30 +00:00
travis: break out before_script stage to test setup-toolchain work
This commit is contained in:
parent
63a4cd60cd
commit
0b39946b20
1 changed files with 4 additions and 1 deletions
|
@ -91,7 +91,7 @@ matrix:
|
|||
- os: osx
|
||||
- os: windows
|
||||
|
||||
script:
|
||||
before_script:
|
||||
- |
|
||||
if [ "$TRAVIS_BRANCH" == "auto" ] || [ "$TRAVIS_BRANCH" == "try" ]; then
|
||||
pr=$(echo $TRAVIS_COMMIT_MESSAGE | grep -o "#[0-9]*" | head -1 | sed 's/^#//g')
|
||||
|
@ -109,11 +109,14 @@ script:
|
|||
- |
|
||||
rm rust-toolchain
|
||||
./setup-toolchain.sh
|
||||
- |
|
||||
if [ "$TRAVIS_OS_NAME" == "windows" ]; then
|
||||
export PATH=$PATH:$(rustc --print sysroot)/bin
|
||||
else
|
||||
export LD_LIBRARY_PATH=$(rustc --print sysroot)/lib
|
||||
fi
|
||||
|
||||
script:
|
||||
- |
|
||||
if [ -z ${INTEGRATION} ]; then
|
||||
travis_wait 30 ./ci/base-tests.sh && sleep 5
|
||||
|
|
Loading…
Reference in a new issue