From 1439b290ac788ae2fd674379dd544e416c6e57c9 Mon Sep 17 00:00:00 2001 From: Hubert Kario Date: Fri, 4 Oct 2019 21:31:19 +0200 Subject: [PATCH] execute also new tests in Travis --- .travis.yml | 1 + build-requirements-2.6.txt | 2 ++ build-requirements-3.2.txt | 2 ++ build-requirements-3.3.txt | 3 +++ build-requirements.txt | 2 ++ 5 files changed, 10 insertions(+) diff --git a/.travis.yml b/.travis.yml index 5e7a67aa..f27042f5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,6 +14,7 @@ install: - if [[ -e build-requirements-${TRAVIS_PYTHON_VERSION}.txt ]]; then travis_retry pip install -r build-requirements-${TRAVIS_PYTHON_VERSION}.txt; else travis_retry pip install -r build-requirements.txt; fi script: - coverage run setup.py test + - pytest --cov --cov-append --cov-branch ecdsa ecdsa/ - python setup.py speed after_success: - coveralls diff --git a/build-requirements-2.6.txt b/build-requirements-2.6.txt index 980e00df..ab204154 100644 --- a/build-requirements-2.6.txt +++ b/build-requirements-2.6.txt @@ -2,3 +2,5 @@ tox coveralls<1.3.0 idna<2.8 unittest2 +pytest=3.1.1 +pytest-cov<3.8.0 diff --git a/build-requirements-3.2.txt b/build-requirements-3.2.txt index 3b599b55..278fafa9 100644 --- a/build-requirements-3.2.txt +++ b/build-requirements-3.2.txt @@ -7,3 +7,5 @@ PyYAML<3.13 tox<3.0 wheel<0.30 virtualenv==15.2.0 +pytest>2.7.3 +pytest-cov<2.8.0 diff --git a/build-requirements-3.3.txt b/build-requirements-3.3.txt index de3e0b74..1c1d6090 100644 --- a/build-requirements-3.3.txt +++ b/build-requirements-3.3.txt @@ -2,3 +2,6 @@ python-coveralls tox<3.0 wheel<0.30 virtualenv==15.2.0 +pytest<3.3 +pytest-cov +py<1.5 diff --git a/build-requirements.txt b/build-requirements.txt index ae10411c..c6454876 100644 --- a/build-requirements.txt +++ b/build-requirements.txt @@ -1 +1,3 @@ python-coveralls +pytest>3.0.7 +pytest-cov<2.8.0