forked from NoRedInk/make-lambda-package
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
33 lines (29 loc) · 650 Bytes
/
tox.ini
File metadata and controls
33 lines (29 loc) · 650 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
31
32
33
[tox]
envlist = py27, py33, py34, py35, py36, pypy, flake8, manifest
[travis]
python =
2.7: py27
3.3: py33
3.4: py34
3.5: py35
3.6: py36, flake8, manifest
pypy: pypy
[testenv]
install_command = python -m pip install {env:INSTALL_COMMAND_ARGS:} {opts} {packages}
commands = py.test --cov make_lambda_package {posargs}
deps =
pip
pytest
pytest-cov
pytest-mock
[testenv:flake8]
basepython = python2.7
deps =
flake8
commands =
flake8 make_lambda_package tests --max-line-length=120
[testenv:manifest]
basepython = python2.7
deps = check-manifest
skip_install = true
commands = check-manifest {posargs}