You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by ap...@apache.org on 2018/05/14 20:46:48 UTC
[arrow] branch master updated: ARROW-2563: [Rust] Poor caching in
Travis-CI
This is an automated email from the ASF dual-hosted git repository.
apitrou pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow.git
The following commit(s) were added to refs/heads/master by this push:
new 5a29ab8 ARROW-2563: [Rust] Poor caching in Travis-CI
5a29ab8 is described below
commit 5a29ab8d93ffa3ca2ae40a3b31f99d86882c90bd
Author: Chao Sun <su...@apache.org>
AuthorDate: Mon May 14 22:46:28 2018 +0200
ARROW-2563: [Rust] Poor caching in Travis-CI
Author: Chao Sun <su...@apache.org>
Closes #2021 from sunchao/arrow-2563 and squashes the following commits:
a65dd84 <Chao Sun> fix merge coverage report issue
43aa206 <Chao Sun> ARROW-2563: Poor caching in Travis-CI
---
.travis.yml | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/.travis.yml b/.travis.yml
index e91d7b1..a1b44a8 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:$PATH
script:
- $TRAVIS_BUILD_DIR/ci/travis_script_rust.sh
after_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 --verbose
after_failure:
- COREFILE=$(find . -maxdepth 2 -name "core*" | head -n 1)
--
To stop receiving notification emails like this one, please contact
apitrou@apache.org.