forked from algolia/algoliasearch-django
-
Notifications
You must be signed in to change notification settings - Fork 2
/
tox.ini
49 lines (46 loc) · 986 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
39
40
41
42
43
44
45
46
47
48
49
[tox]
envlist =
{py27,py34}-django17
{py27,py34,py35,py36}-django18
{py27,py34,py35,py36}-django19
{py27,py34,py35,py36}-django110
{py27,py34,py35,py36}-django111
{py34,py35,py36}-django20
coverage
skip_missing_interpreters = True
[testenv]
deps =
six
mock
factory_boy
django17: Django>=1.7,<1.8
django18: Django>=1.8,<1.9
django19: Django>=1.9,<1.10
django110: Django>=1.10,<1.11
django111: Django>=1.11,<2.0
django20: Django>=2.0,<2.1
passenv =
ALGOLIA*
TRAVIS*
commands = python runtests.py
[testenv:coverage]
basepython = python2.7
deps = coverage
passenv =
ALGOLIA*
TRAVIS*
commands =
coverage run --branch --source=algoliasearch_django runtests.py
coverage report
[testenv:coveralls]
basepython = python2.7
deps =
coverage
coveralls
passenv =
ALGOLIA*
TRAVIS*
commands =
coverage run --branch --source=algoliasearch_django runtests.py
coverage report
coveralls