Apache DataFusion SQL Query Engine
ARROW-2563: [Rust] Poor caching in Travis-CI
Chao Sun9338e4088ccb
diff --git a/.travis.yml b/.travis.ymlindex e91d7b166a..a1b44a8b59 100644--- a/.travis.yml+++ b/.travis.yml@@ -196,16 +196,17 @@ matrix:before_script:- if [ $ARROW_CI_RUST_AFFECTED != "1" ]; then exit; fi- pip install 'travis-cargo<0.2' --user && export PATH=$HOME/.local/bin:$PATH- - cargo install --force cargo-travis && export PATH=$HOME/.cargo/bin:$PATH+ - export CARGO_TARGET_DIR=$TRAVIS_BUILD_DIR/target+ - cargo install cargo-travis || echo "Skipping cargo-travis installation as it already exists in cache"+ - export PATH=$HOME/.cargo/bin:$PATHscript:- $TRAVIS_BUILD_DIR/ci/travis_script_rust.shafter_success:- pushd ${TRAVIS_BUILD_DIR}/rust# Run coverage for codecov.io+ - mkdir -p target/kcov- RUST_BACKTRACE=1 cargo coverage --verbose- bash <(curl -s https://codecov.io/bash) || echo "Codecov did not collect coverage reports"- # Run coverage for coveralls.io- #- cargo coveralls --verboseafter_failure:- COREFILE=$(find . -maxdepth 2 -name "core*" | head -n 1)