Skip to content

Commit

Permalink
travis: break out before_script stage to test setup-toolchain work
Browse files Browse the repository at this point in the history
  • Loading branch information
tesuji committed Oct 15, 2019
1 parent 63a4cd6 commit 0b39946
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand All @@ -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
Expand Down

0 comments on commit 0b39946

Please sign in to comment.