Skip to content

Commit 31a1f73

Browse files
committed
handle merges with instrumental
1 parent 3998573 commit 31a1f73

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.travis.yml

+9
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,15 @@ script:
9191
instrumental -t ecdsa -i 'test.*|.*_version' `which pytest` $files
9292
instrumental -f .instrumental.cov -sr
9393
fi
94+
- |
95+
if [[ $INSTRUMENTAL && $TRAVIS_PULL_REQUEST == "false" ]]; then
96+
# exclude the super slow test_malformed_sigs.py, until #127 is merged
97+
files="$(ls src/ecdsa/test*.py | grep -v test_malformed_sigs.py)"
98+
instrumental -t ecdsa -i 'test.*|.*_version' `which pytest` $files
99+
instrumental -f .instrumental.cov -s
100+
# just log the values when merging
101+
instrumental -f .instrumental.cov -s | python diff-instrumental-2.py
102+
fi
94103
- |
95104
if [[ $INSTRUMENTAL && $TRAVIS_PULL_REQUEST != "false" ]]; then
96105
instrumental -f .instrumental.cov -s | python diff-instrumental-2.py --read .diff-instrumental --fail-under 70 --max-difference -0.1

0 commit comments

Comments
 (0)