Skip to content

Commit

Permalink
Exclude /target instead of serde_type.rs
Browse files Browse the repository at this point in the history
`kcov`'s option `--exclude-pattern` takes a _path_, not a regex:
```
    --exclude-path=P1[,P2...]
          Comma-separated list of paths to exclude from the report.

    --exclude-pattern=P1[,P2...]
          Comma-separated list of path patterns to exclude from the report.
```
  • Loading branch information
nbigaouette committed Dec 9, 2016
1 parent df53bfb commit 7612ee7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,4 @@ after_success:
# https://github.com/huonw/travis-cargo/issues/58
# See https://github.com/ujh/iomrascalai/blob/master/.travis.yml
- if [[ "$TRAVIS_OS_NAME" == "linux" && "$TRAVIS_RUST_VERSION" == "stable" ]]; then travis-cargo coveralls --no-sudo --verify; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" && "$TRAVIS_RUST_VERSION" == "stable" ]]; then ./kcov/build/src/kcov --verify --coveralls-id=$TRAVIS_JOB_ID --exclude-pattern=/.cargo,serde_type.rs target/kcov target/debug/gitlab_api-*; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" && "$TRAVIS_RUST_VERSION" == "stable" ]]; then ./kcov/build/src/kcov --verify --coveralls-id=$TRAVIS_JOB_ID --exclude-pattern=/.cargo,/target target/kcov target/debug/gitlab_api-*; fi

0 comments on commit 7612ee7

Please sign in to comment.