From 0b39946b20eb892e569c4f42c5c9d569209b33b2 Mon Sep 17 00:00:00 2001 From: Lzu Tao Date: Tue, 15 Oct 2019 01:21:25 +0700 Subject: [PATCH] travis: break out before_script stage to test setup-toolchain work --- .travis.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 66dcf7d72..9934e3bd4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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