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: Ica96a7262893529d8afce35cef877355c73f641c
This commit is contained in:
Simon Pasquier 2015-09-16 17:08:58 +02:00
parent 6fe7a77553
commit d3c1338e24
6 changed files with 14 additions and 1 deletions

2
.gitignore vendored
View File

@ -1 +1,3 @@
.bundled_gems/
.build/
elasticsearch_kibana*rpm

View File

@ -1,3 +1,4 @@
spec/fixtures/modules/*
spec/fixtures/manifests/*
Gemfile.lock
files/kibana/src

1
repositories/centos/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
*rpm

1
repositories/ubuntu/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
*deb

View File

@ -1 +1,2 @@
Sphinx
fuel-plugin-builder>=3.0

View File

@ -1,5 +1,5 @@
[tox]
envlist = lma_logging_analytics,docs
envlist = lma_logging_analytics,docs,build_plugin
skipsdist = True
[testenv]
@ -23,3 +23,10 @@ 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