Skip to content

Commit

Permalink
run all tests in instrumental
Browse files Browse the repository at this point in the history
since now test_malformed_sigs.py executes quickly, we can run it under
instrumental
  • Loading branch information
tomato42 committed Oct 26, 2019
1 parent 8b99664 commit 150a7f9
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,14 +87,12 @@ script:
instrumental -f .instrumental.cov -s
instrumental -f .instrumental.cov -s | python diff-instrumental.py --save .diff-instrumental
git checkout $BRANCH
instrumental -t ecdsa -i 'test.*|.*_version' `which pytest` $files
instrumental -t ecdsa -i 'test.*|.*_version' `which pytest` src/ecdsa
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="$(ls src/ecdsa/test*.py | grep -v test_malformed_sigs.py)"
instrumental -t ecdsa -i 'test.*|.*_version' `which pytest` $files
instrumental -t ecdsa -i 'test.*|.*_version' `which pytest` src/ecdsa
instrumental -f .instrumental.cov -s
# just log the values when merging
instrumental -f .instrumental.cov -s | python diff-instrumental.py
Expand Down

0 comments on commit 150a7f9

Please sign in to comment.