-
Notifications
You must be signed in to change notification settings - Fork 29
Expand file tree
/
Copy pathtox.ini
More file actions
26 lines (21 loc) · 717 Bytes
/
tox.ini
File metadata and controls
26 lines (21 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
[tox]
envlist = unittesting,linting
minversion = 1.6
skipsdist = True
[testenv]
setenv =
VIRTUAL_ENV={envdir}
# NOTE: relative paths were used due to '-w' flag for nosetests util
usedevelop = True
install_command = pip install -U {opts} {packages}
deps =
-e {toxinidir}/
-r{toxinidir}/requirements-3.6.txt
-r{toxinidir}/test-requirements.txt
whitelist_externals = bash
[testenv:linting]
commands =
flake8 --ignore=W605 cloudify_aws --exclude cloudify_aws/cognito/scripts/*
[testenv:unittesting]
commands =
nosetests --cover-html --with-coverage --cover-package=cloudify_aws --with-xunit --xunit-file=nosetests.xml --cover-xml --cover-xml-file=coverage.xml --exe cloudify_aws