forked from adamchainz/nexus
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
30 lines (27 loc) · 717 Bytes
/
Copy pathtox.ini
File metadata and controls
30 lines (27 loc) · 717 Bytes
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
[tox]
envlist =
py{27,36}-django{18,19,110,111},
py36-django{20,21},
py{27,36}-codestyle
[testenv]
setenv =
PYTHONDONTWRITEBYTECODE=1
install_command = pip install --no-deps {opts} {packages}
deps =
django18: Django>=1.8,<1.9
django19: Django>=1.9,<1.10
django110: Django>=1.10,<1.11
django111: Django>=1.11a1,<2.0
django20: Django>=2.0,<2.1
django21: Django>=2.1a1,<2.2
-rrequirements.txt
commands = ./runtests.py {posargs}
[testenv:py27-codestyle]
deps = -rrequirements.txt
# setup.py check broken on travis python 2.7
skip_install = true
commands = multilint --skip setup.py
[testenv:py36-codestyle]
deps = -rrequirements.txt
skip_install = true
commands = multilint