blob: 1a033aefd49a6fc06e0bcce60fc5b9855f56c85a [file] [log] [blame]
Yesudeep Mangalapillyaaa9ac62011-08-11 01:31:24 +05301[tox]
adamantikef05b6592016-01-24 00:23:23 -03002# Environment changes have to be manually synced with '.travis.yml'.
Hugo van Kemenadeb81e3172020-11-19 23:40:38 +02003envlist = py35,py36,p37,p38,p39
Yesudeep Mangalapillyaaa9ac62011-08-11 01:31:24 +05304
Yesudeep Mangalapilly03c51e72011-08-16 14:30:48 +05305[pytest]
Sybren A. Stüvelf0cbd382016-01-13 10:04:42 +01006addopts = -v --cov rsa --cov-report term-missing
Yesudeep Mangalapilly03c51e72011-08-16 14:30:48 +05307
Yesudeep Mangalapillyaaa9ac62011-08-11 01:31:24 +05308[testenv]
Sybren A. Stüveld15a7f32020-06-11 18:53:41 +02009deps = pipenv
Sybren A. Stüvel222fb5f2019-08-04 17:22:46 +020010commands =
Sybren A. Stüveld15a7f32020-06-11 18:53:41 +020011 pipenv install --dev --deploy
12 pipenv run py.test tests/
Sybren A. Stüvelf95dbb72016-01-22 12:19:09 +010013
Sybren A. Stüvel222fb5f2019-08-04 17:22:46 +020014[testenv:py37]
Sybren A. Stüveld15a7f32020-06-11 18:53:41 +020015whitelist_externals = pipenv
Sybren A. Stüvelad510182018-09-16 11:27:27 +020016commands=
Sybren A. Stüveld15a7f32020-06-11 18:53:41 +020017 pipenv install -v
18 pipenv run py.test --doctest-modules rsa tests/