-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathtox.ini
39 lines (30 loc) · 1011 Bytes
/
tox.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
[tox]
envlist =
{py27,py34}-django{1.7,1.8}-drf{3.1.0,3.2.3},
{py33}-django{1.8}-drf{3.2.3},
{py34}-django{1.8}-drf{3.0.5},
lint,
coveralls
toxworkdir = {env:TOX_WORK_DIR:.tox}
[testenv:lint]
deps = pylint
commands = pylint rest_framework_encrypted_lookup --rcfile=.pylintrc --disable=fixme --disable=locally-disabled --disable=missing-docstring
[testenv:coveralls]
passenv = TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH
deps =
coveralls
Django==1.8
djangorestframework==3.2.3
pycrypto==2.6.1
commands =
coverage run --source=rest_framework_encrypted_lookup --omit=tests/* rest_framework_encrypted_lookup/tests/runtests.py
coveralls
[testenv]
commands = python rest_framework_encrypted_lookup/tests/runtests.py
deps =
django1.7: Django==1.7.1
django1.8: Django==1.8
drf3.0.5: djangorestframework==3.0.5
drf3.1.0: djangorestframework==3.1.0
drf3.2.3: djangorestframework==3.2.3
pycrypto==2.6.1