test heat-translator with master branch of tosca-parser

in an effort to maintain backward compatibility, it was decided
that heat-translator should test against the master branch of
tosca-parser. simply running the py27 job should be sufficient.

create a new tox entry that installs the latest master version
of tosca-parser, we should also add a job that runs this tox
entry.

i used [1] for inspiration.

[1] https://github.com/openstack-infra/project-config/blob/master/jenkins/scripts/run-tox-with-oslo-master.sh

Change-Id: I22c3d9330c92aa4d29d65b4a5405b90e716b5f77
This commit is contained in:
Steve Martinelli 2016-05-18 12:30:49 -07:00
parent 65a8873f58
commit 9920188cfb
1 changed files with 5 additions and 0 deletions

View File

@ -27,6 +27,11 @@ commands = python setup.py build_sphinx
[testenv:debug]
commands = oslo_debug_helper -t translator/tests {posargs}
[testenv:py27-tosca-master]
commands =
pip install -q -U -e "git+https://git.openstack.org/openstack/tosca-parser.git#egg=tosca_parser"
python setup.py test --slowest --testr-args='{posargs}'
[flake8]
# H803 skipped on purpose per list discussion.
# E123, E125 skipped as they are invalid PEP-8.