mirror of
https://github.com/rust-lang/rust-clippy
synced 2025-02-25 11:57:25 +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: osx
|
||||||
- os: windows
|
- os: windows
|
||||||
|
|
||||||
script:
|
before_script:
|
||||||
- |
|
- |
|
||||||
if [ "$TRAVIS_BRANCH" == "auto" ] || [ "$TRAVIS_BRANCH" == "try" ]; then
|
if [ "$TRAVIS_BRANCH" == "auto" ] || [ "$TRAVIS_BRANCH" == "try" ]; then
|
||||||
pr=$(echo $TRAVIS_COMMIT_MESSAGE | grep -o "#[0-9]*" | head -1 | sed 's/^#//g')
|
pr=$(echo $TRAVIS_COMMIT_MESSAGE | grep -o "#[0-9]*" | head -1 | sed 's/^#//g')
|
||||||
|
@ -109,11 +109,14 @@ script:
|
||||||
- |
|
- |
|
||||||
rm rust-toolchain
|
rm rust-toolchain
|
||||||
./setup-toolchain.sh
|
./setup-toolchain.sh
|
||||||
|
- |
|
||||||
if [ "$TRAVIS_OS_NAME" == "windows" ]; then
|
if [ "$TRAVIS_OS_NAME" == "windows" ]; then
|
||||||
export PATH=$PATH:$(rustc --print sysroot)/bin
|
export PATH=$PATH:$(rustc --print sysroot)/bin
|
||||||
else
|
else
|
||||||
export LD_LIBRARY_PATH=$(rustc --print sysroot)/lib
|
export LD_LIBRARY_PATH=$(rustc --print sysroot)/lib
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
script:
|
||||||
- |
|
- |
|
||||||
if [ -z ${INTEGRATION} ]; then
|
if [ -z ${INTEGRATION} ]; then
|
||||||
travis_wait 30 ./ci/base-tests.sh && sleep 5
|
travis_wait 30 ./ci/base-tests.sh && sleep 5
|
||||||
|
|
Loading…
Add table
Reference in a new issue