summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHubert Kario <hubert@kario.pl>2020-12-06 20:51:44 +0100
committerHubert Kario <hubert@kario.pl>2020-12-06 20:51:44 +0100
commit5f137ecbf5b8b5b0e12c6402affb0bcedb8d543c (patch)
tree4014c5cc60f788c2aebdbb6587b2bd50b778c1eb
parent58ea27367c97d7b7989d1699ca3c0ae890bef568 (diff)
downloadecdsa-5f137ecbf5b8b5b0e12c6402affb0bcedb8d543c.tar.gz
speed up instrumental, reenable test_malformed_sigs.py under it
-rw-r--r--.travis.yml5
1 files changed, 2 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml
index 8e259af..afefc59 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -105,7 +105,7 @@ install:
else
travis_retry pip install -r build-requirements.txt;
fi
- - if [[ $TOX_ENV =~ gmpy2 ]]; then travis_retry pip install gmpy2; fi
+ - if [[ $TOX_ENV =~ gmpy2 ]] || [[ $INSTRUMENTAL ]]; then travis_retry pip install gmpy2; fi
- if [[ $TOX_ENV =~ gmpyp ]]; then travis_retry pip install gmpy; fi
- if [[ $INSTRUMENTAL ]]; then travis_retry pip install instrumental; fi
- pip list
@@ -117,8 +117,7 @@ script:
- |
if [[ $INSTRUMENTAL && $TRAVIS_PULL_REQUEST != "false" ]]; then
git checkout $PR_FIRST^
- # exclude the super slow test_malformed_sigs.py, until #127 is merged
- files="$(ls src/ecdsa/test*.py | grep -v test_malformed_sigs.py)"
+ files="$(ls src/ecdsa/test*.py)"
instrumental -t ecdsa -i 'test.*|.*_version' `which pytest` $files
instrumental -f .instrumental.cov -s
instrumental -f .instrumental.cov -s | python diff-instrumental.py --save .diff-instrumental