diff options
author | Sascha Grunert <mail@saschagrunert.de> | 2017-02-13 14:39:15 +0100 |
---|---|---|
committer | Sascha Grunert <mail@saschagrunert.de> | 2017-02-13 14:39:15 +0100 |
commit | 8cb059ba90529e6981cc4ddf06521b4bc8468491 (patch) | |
tree | 7c31748e5c5dec65d8726292066f2a9a03fdfbaa | |
parent | dae8ff2c36fb5de2bd19d0f88d4d07a2c27abc5f (diff) |
Fixed travis coverage1.4.0
-rw-r--r-- | .travis.yml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index 2e34434..afad27b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,6 +10,7 @@ before_script: - pip install 'travis-cargo<0.2' --user --verbose - export PATH=$HOME/.local/bin:$PATH - export PATH=$HOME/Library/Python/2.7/bin:$PATH + - cargo install cargo-kcov script: - export CARGO_TARGET_DIR=`pwd`/target - travis-cargo build @@ -18,7 +19,7 @@ script: after_success: - if [[ "$TRAVIS_RUST_VERSION" == "stable" ]] && [[ "$TRAVIS_OS_NAME" == "linux" ]]; then travis-cargo doc-upload; fi - if [[ "$TRAVIS_RUST_VERSION" == "stable" ]] && [[ "$TRAVIS_OS_NAME" == "linux" ]]; then travis-cargo coveralls --no-sudo --verify; fi - - if [[ "$TRAVIS_RUST_VERSION" == "stable" ]] && [[ "$TRAVIS_OS_NAME" == "linux" ]]; then ./kcov/build/src/kcov --verify --coveralls-id=$TRAVIS_JOB_ID --exclude-pattern=/.cargo,/usr target/kcov target/debug/gitjournal*; fi + - if [[ "$TRAVIS_RUST_VERSION" == "stable" ]] && [[ "$TRAVIS_OS_NAME" == "linux" ]]; then cargo kcov --coveralls --kcov ./kcov/build/src/kcov; fi notifications: email: on_success: never |