Skip to content

Commit

Permalink
handle merges with instrumental
Browse files Browse the repository at this point in the history
  • Loading branch information
tomato42 committed Oct 19, 2019
1 parent f57ddf2 commit 0a2f339
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,15 @@ script:
instrumental -t ecdsa -i 'test.*|.*_version' `which pytest` $files
instrumental -f .instrumental.cov -sr
fi
- |
if [[ $INSTRUMENTAL && $TRAVIS_PULL_REQUEST == "false" ]]; then
# exclude the super slow test_malformed_sigs.py, until #127 is merged
files="src/ecdsa/test_der.py src/ecdsa/test_ecdsa.py src/ecdsa/test_ellipticcurve.py src/ecdsa/test_numbertheory.py src/ecdsa/test_pyecdsa.py"
instrumental -t ecdsa -i 'test.*|.*_version' `which pytest` $files
instrumental -f .instrumental.cov -s
# just log the values when merging
instrumental -f .instrumental.cov -s | python diff-instrumental-2.py
fi
- |
if [[ $INSTRUMENTAL && $TRAVIS_PULL_REQUEST != "false" ]]; then
instrumental -f .instrumental.cov -s | python diff-instrumental-2.py --read .diff-instrumental --fail-under 70 --max-difference -0.1
Expand Down

0 comments on commit 0a2f339

Please sign in to comment.