Add a tox environment to build the plugin
This change also updates the various .gitignore files to discard the files and directories created by the fpb script. Change-Id: Ic909e787eaf5088a3f60098ea7ed2b92ccada8f7
This commit is contained in:
parent
e21bec1b98
commit
e20ea23f6f
|
@ -1 +1,3 @@
|
|||
.bundled_gems/
|
||||
.build/
|
||||
lma_collector*rpm
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
*/
|
||||
!heka/
|
||||
!lma_collector/
|
|
@ -0,0 +1 @@
|
|||
*.rpm
|
|
@ -0,0 +1 @@
|
|||
*.deb
|
|
@ -1 +1,2 @@
|
|||
Sphinx
|
||||
fuel-plugin-builder>=2.0.4
|
||||
|
|
13
tox.ini
13
tox.ini
|
@ -1,7 +1,10 @@
|
|||
[tox]
|
||||
envlist = heka,lma_collector,docs
|
||||
envlist = heka,lma_collector,docs,build_plugin
|
||||
skipsdist = True
|
||||
|
||||
[testenv]
|
||||
deps = -r{toxinidir}/test-requirements.txt
|
||||
|
||||
[testenv:heka]
|
||||
deps =
|
||||
changedir = {toxinidir}/deployment_scripts/puppet/modules/{envname}
|
||||
|
@ -29,8 +32,14 @@ commands =
|
|||
bundle exec rake test
|
||||
|
||||
[testenv:docs]
|
||||
deps = -r{toxinidir}/test-requirements.txt
|
||||
changedir = {toxinidir}/doc
|
||||
whitelist_externals = make
|
||||
commands =
|
||||
make clean html SPHINXOPTS=-W
|
||||
|
||||
[testenv:build_plugin]
|
||||
whitelist_externals =
|
||||
fpb
|
||||
commands =
|
||||
fpb --check {toxinidir} --debug
|
||||
fpb --build {toxinidir} --debug
|
||||
|
|
Loading…
Reference in New Issue