diff options
author | Sybren A. Stüvel <sybren@stuvel.eu> | 2018-09-16 11:27:27 +0200 |
---|---|---|
committer | Sybren A. Stüvel <sybren@stuvel.eu> | 2018-09-16 11:27:27 +0200 |
commit | ad510185b54412f390f2ffcb2f8362326a1b0885 (patch) | |
tree | 9804180e8a5ee8ffeb47578fa049909b5b10e1cd /tox.ini | |
parent | c2211eecc5e51d771cc9681e2abd3e3abf0542b6 (diff) | |
download | rsa-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.ini | 17 |
1 files changed, 8 insertions, 9 deletions
@@ -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 |