This is an automated email from the ASF dual-hosted git repository. uwe 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 c46f625 ARROW-2477: [Rust] Set up code coverage in CI c46f625 is described below commit c46f625913df3aab56802ad699f0ac0042f37b13 Author: Chao Sun <sunc...@apache.org> AuthorDate: Mon May 7 20:58:36 2018 +0200 ARROW-2477: [Rust] Set up code coverage in CI It may require some setup on the coveralls.io. I'm just giving it a blind try right now. Author: Chao Sun <sunc...@apache.org> Closes #1942 from sunchao/rust-code-coverage and squashes the following commits: 3c351ca8 <Chao Sun> fix 061b66f2 <Chao Sun> try again 0142a71a <Chao Sun> try again bd53614f <Chao Sun> try again 697adc7b <Chao Sun> more fix 81996e83 <Chao Sun> more fix 14e7a590 <Chao Sun> use travis-cargo 5af1bd07 <Chao Sun> ARROW-2477: Set up code coverage in CI --- .travis.yml | 13 +++++++++++++ ci/travis_script_rust.sh | 2 +- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 579dce4..b4ec6ff 100644 --- a/.travis.yml +++ b/.travis.yml @@ -181,10 +181,23 @@ matrix: - language: rust cache: cargo rust: stable + addons: + apt: + packages: + - libcurl4-openssl-dev + - libelf-dev + - libdw-dev + - binutils-dev + - cmake 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 script: - $TRAVIS_BUILD_DIR/ci/travis_script_rust.sh + after_success: + - pushd ${TRAVIS_BUILD_DIR}/rust + - cargo coveralls --verbose after_failure: - COREFILE=$(find . -maxdepth 2 -name "core*" | head -n 1) diff --git a/ci/travis_script_rust.sh b/ci/travis_script_rust.sh index 6a8ecf0..ff12483 100755 --- a/ci/travis_script_rust.sh +++ b/ci/travis_script_rust.sh @@ -27,7 +27,7 @@ pushd $RUST_DIR rustup component add rustfmt-preview cargo fmt --all -- --write-mode=diff # raises on any warnings -cargo rustc -- -D warnings +cargo rustc -- -D warnings cargo build cargo test -- To stop receiving notification emails like this one, please contact u...@apache.org.