~nuage-canonical/charms/trusty/nova-compute/next

« back to all changes in this revision

Viewing changes to tox.ini

  • Committer: Sunny Verma
  • Date: 2016-02-20 00:18:05 UTC
  • mfrom: (79.2.121 nova-compute)
  • Revision ID: sunny.verma@nuagenetworks.net-20160220001805-3748vuzi97hyw205
Merged to lp:~openstack-charmers/charms/trusty/nova-compute/next

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
[tox]
 
2
envlist = pep8,py27
 
3
skipsdist = True
 
4
 
 
5
[testenv]
 
6
setenv = VIRTUAL_ENV={envdir}
 
7
         PYTHONHASHSEED=0
 
8
install_command =
 
9
  pip install --allow-unverified python-apt {opts} {packages}
 
10
commands = ostestr {posargs}
 
11
 
 
12
[testenv:py27]
 
13
basepython = python2.7
 
14
deps = -r{toxinidir}/requirements.txt
 
15
       -r{toxinidir}/test-requirements.txt
 
16
 
 
17
[testenv:pep8]
 
18
basepython = python2.7
 
19
deps = -r{toxinidir}/requirements.txt
 
20
       -r{toxinidir}/test-requirements.txt
 
21
commands = flake8 {posargs} actions hooks unit_tests tests
 
22
           charm proof
 
23
 
 
24
[testenv:venv]
 
25
commands = {posargs}
 
26
 
 
27
[flake8]
 
28
ignore = E402,E226
 
29
exclude = hooks/charmhelpers