summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorSybren A. Stüvel <sybren@stuvel.eu>2018-09-16 11:27:27 +0200
committerSybren A. Stüvel <sybren@stuvel.eu>2018-09-16 11:27:27 +0200
commitad510185b54412f390f2ffcb2f8362326a1b0885 (patch)
tree9804180e8a5ee8ffeb47578fa049909b5b10e1cd /tox.ini
parentc2211eecc5e51d771cc9681e2abd3e3abf0542b6 (diff)
downloadrsa-git-ad510185b54412f390f2ffcb2f8362326a1b0885.tar.gz
Fixed testing with Travis CI and Tox
- Added missing test dependencies. - Updated `.travis.yml` and `tox.ini` to install deps and run with pipenv. - Added testing on Python 3.7.
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini17
1 files changed, 8 insertions, 9 deletions
diff --git a/tox.ini b/tox.ini
index faa4b21..aa4a28e 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,21 +1,20 @@
[tox]
# Environment changes have to be manually synced with '.travis.yml'.
-envlist = py27,py34,py35,py36,pypy
+envlist = py27,py34,py35,py36,p37,pypy
[pytest]
addopts = -v --cov rsa --cov-report term-missing
[testenv]
-commands=py.test []
-deps=pyasn1 >=0.1.3
- coverage >=3.5
- PyTest
- pytest-xdist
- pytest-cov
- mock
+deps = pipenv
+commands=
+ pipenv install --dev --ignore-pipfile
+ pipenv run py.test tests
[testenv:py36]
-commands=py.test --doctest-modules rsa tests
+commands=
+ pipenv install --dev --ignore-pipfile
+ pipenv run py.test --doctest-modules rsa tests
[pep8]
max-line-length = 100