Skip to content

Commit

Permalink
Fixed travis coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
saschagrunert committed Feb 13, 2017
1 parent dae8ff2 commit 8cb059b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 8cb059b

Please sign in to comment.