forked from jschneier/django-storages
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
60 lines (57 loc) · 1.26 KB
/
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
50
51
52
53
54
55
56
57
58
59
60
[tox]
envlist =
py27-django111
py34-django{111,20}
py35-django{111,20,21,master}
py36-django{111,20,21,master}
py37-django{20,21,master}
integration
flake8
[testenv]
setenv =
DJANGO_SETTINGS_MODULE = tests.settings
PYTHONWARNINGS = all
PYTHONDONTWRITEBYTECODE = 1
commands = py.test --cov=storages --ignore=tests/integration/ tests/ {posargs}
deps =
django111: Django>=1.11,<2.0
django20: Django>=2.0,<2.1
django21: Django>=2.1,<2.2
djangomaster: https://github.com/django/django/archive/master.tar.gz
py27: mock
pytest
pytest-cov
apache-libcloud
boto
boto3
dropbox
google-cloud-storage
paramiko
azure>=3.0.0
azure-storage-blob>=1.3.1
[testenv:integration]
ignore_errors = True
whitelist_externals =
docker
py.test
commands =
docker pull arafato/azurite
docker run --name azure-storage -d -t -p 10000:10000 -p 10001:10001 -p 10002:10002 arafato/azurite
py.test tests/integration/
docker stop azure-storage
docker rm azure-storage
setenv =
PYTHONDONTWRITEBYTECODE = 1
DJANGO_SETTINGS_MODULE = tests.integration.settings
deps =
Django>=1.11, <1.12
pytest-django
azure>=3.0.0
azure-storage-blob>=1.3.1
[testenv:flake8]
deps =
flake8
isort
commands =
flake8
isort --recursive --check-only --diff storages/ tests/