summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Pasquier <spasquier@mirantis.com>2016-07-20 14:48:57 +0200
committerSimon Pasquier <spasquier@mirantis.com>2016-07-20 14:49:50 +0200
commit5ef85431960fe73ebd36273af0d10854e171c849 (patch)
tree9a76bffb35eed51cb6661bc3488e0ef64d4df78b
parent71437adf5ec88802a5599b93530a8cf9847047f3 (diff)
Add tox target to build the plugin
This is required to integrate into the plugin CI. Change-Id: If57eeede0313ef5346283d654a40cb328cdaa256
Notes
Notes (review): Code-Review+2: Ilya Tyaptin <ityaptin@mirantis.com> Code-Review+2: Ivan Berezovskiy <iberezovskiy@mirantis.com> Workflow+1: Ilya Tyaptin <ityaptin@mirantis.com> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Mon, 25 Jul 2016 14:48:02 +0000 Reviewed-on: https://review.openstack.org/344810 Project: openstack/fuel-plugin-ceilometer-redis Branch: refs/heads/master
-rw-r--r--tox.ini10
1 files changed, 9 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index de76db2..6d7f848 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,5 +1,5 @@
1[tox] 1[tox]
2envlist = docs 2envlist = docs,build_plugin
3skipsdist = True 3skipsdist = True
4 4
5[testenv] 5[testenv]
@@ -16,3 +16,11 @@ whitelist_externals = make
16commands = 16commands =
17 make clean html SPHINXOPTS=-W 17 make clean html SPHINXOPTS=-W
18 18
19[testenv:build_plugin]
20changedir = {toxinidir}
21whitelist_externals =
22 fpb
23 bash
24commands =
25 fpb --check {toxinidir} --debug
26 fpb --build {toxinidir} --debug