diff options
author | Simon Pasquier <spasquier@mirantis.com> | 2016-07-20 14:48:57 +0200 |
---|---|---|
committer | Simon Pasquier <spasquier@mirantis.com> | 2016-07-20 14:49:50 +0200 |
commit | 5ef85431960fe73ebd36273af0d10854e171c849 (patch) | |
tree | 9a76bffb35eed51cb6661bc3488e0ef64d4df78b | |
parent | 71437adf5ec88802a5599b93530a8cf9847047f3 (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.ini | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -1,5 +1,5 @@ | |||
1 | [tox] | 1 | [tox] |
2 | envlist = docs | 2 | envlist = docs,build_plugin |
3 | skipsdist = True | 3 | skipsdist = True |
4 | 4 | ||
5 | [testenv] | 5 | [testenv] |
@@ -16,3 +16,11 @@ whitelist_externals = make | |||
16 | commands = | 16 | commands = |
17 | make clean html SPHINXOPTS=-W | 17 | make clean html SPHINXOPTS=-W |
18 | 18 | ||
19 | [testenv:build_plugin] | ||
20 | changedir = {toxinidir} | ||
21 | whitelist_externals = | ||
22 | fpb | ||
23 | bash | ||
24 | commands = | ||
25 | fpb --check {toxinidir} --debug | ||
26 | fpb --build {toxinidir} --debug | ||