summaryrefslogtreecommitdiffstats
path: root/azure/tox.ini
blob: 58fd7a609def4e44a28127e6cf7df81a54e3fd1a (plain)
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
[tox]
envlist = py27,pep8
skipsdist = true

[tox:jenkins]
downloadcache = ~/cache/pip

[testenv]
deps =
    -r{toxinidir}/requirements.txt
commands =
  /usr/bin/find . -type f -name "*.py[c|o]" -delete
  pip install {toxinidir}/aria/aria-extension-cloudify/src/aria
  pip install {toxinidir}/aria/aria-extension-cloudify
  python manage.py test multicloud_azure

[testenv:pep8]
deps=flake8
commands=flake8 --exclude='./aria/**,./*tox*/**'

[testenv:py27]
commands =
  {[testenv]commands}

[testenv:cover]
setenv=
  DJANGO_SETTINGS_MODULE = multicloud_azure.settings-cover
commands =
  coverage erase
  {[testenv]commands}
  coverage xml -i