Simplify bindep envlist for tox

Rather then being a 2 step process, just run install_bindep.sh when we
call tox -ebindep.

Change-Id: I07bf6f03df547afca11737407c288e96685fef04
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger 2018-05-15 13:51:17 -04:00
parent 714f03abf0
commit 2d1af77849
No known key found for this signature in database
GPG Key ID: 611A80832067AF38
2 changed files with 3 additions and 8 deletions

View File

@ -10,13 +10,7 @@
- name: Bootstrap bindep environment
args:
chdir: "{{ windmill_src_dir }}"
command: tox -ebindep --notest
- name: Install bindep dependendies
args:
chdir: "{{ windmill_src_dir }}"
executable: /bin/bash
shell: source .tox/bindep/bin/activate; ./tools/install_bindep.sh
command: tox -ebindep
- name: Bootstrap tox environment
args:

View File

@ -13,7 +13,8 @@ deps = -r{toxinidir}/requirements.txt
# dependencies are missing! This also means that bindep must be installed
# separately, outside of the requirements files.
deps = bindep
commands = bindep test
commands =
{toxinidir}/tools/install_bindep.sh
[testenv:docs]
commands = python setup.py build_sphinx