diff options
author | Sorin Sbarnea <ssbarnea@redhat.com> | 2018-06-19 13:33:34 +0100 |
---|---|---|
committer | Sorin Sbarnea <ssbarnea@redhat.com> | 2018-06-19 23:25:43 +0100 |
commit | 92f28a591e835096379c4b9c18ecc95201b7bc43 (patch) | |
tree | fd6be8efbee99ee6c06b19f1f8eec36b7aced2db /tox.ini | |
parent | 51a4ccab70caba694fbf113548cf564139b0c0c8 (diff) | |
download | python-jenkins-job-builder-92f28a591e835096379c4b9c18ecc95201b7bc43.tar.gz python-jenkins-job-builder-92f28a591e835096379c4b9c18ecc95201b7bc43.tar.xz python-jenkins-job-builder-92f28a591e835096379c4b9c18ecc95201b7bc43.zip |
Allow jjb to be called as a module
Enable us to do `python -m jenkins_jobs ...`
which avoids the need to install executable in
user path.
Tests cli execution on each supported python version.
Uses default encoding workaround only on
python2, where is needed.
Change-Id: I4cd79fd51a8309d532e0e76723ecfbbda3e1ca6f
Signed-off-by: Sorin Sbarnea <ssbarnea@redhat.com>
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -18,6 +18,8 @@ deps = -r{toxinidir}/test-requirements.txt commands = - find . -type f -name "*.pyc" -delete - find . -type d -name "__pycache__" -delete + # test that we can call jjb using both variants with same results + bash {toxinidir}/tools/test-commands.sh stestr run --slowest {posargs} whitelist_externals = bash |