diff options
author | Daniel P. Berrangé <berrange@redhat.com> | 2020-05-14 10:09:31 +0100 |
---|---|---|
committer | Daniel P. Berrangé <berrange@redhat.com> | 2020-05-14 10:43:40 +0100 |
commit | 8cbcbf2a84c57aac737520016800207232bb8364 (patch) | |
tree | d72082fdff15865783b22a62c6a4be576fee2ec6 /.gitlab-ci.yml | |
parent | 6088ce10b9afad415ebe3fc96cb40e271a0cf910 (diff) | |
download | libvirt-python-8cbcbf2a84c57aac737520016800207232bb8364.tar.gz |
gitlab: add testing of the rpmbuild process
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2e92333..71afae3 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -44,6 +44,8 @@ stages: - popd - $PYTHON setup.py build - $PYTHON setup.py test + - $PYTHON setup.py sdist + - if test -x /usr/bin/rpmbuild && test $NAME != "opensuse-151" ; then rpmbuild --nodeps -ta dist/libvirt-python*tar.gz ; fi .dist_build_job_template: &dist_build_job_definition image: $CI_REGISTRY_IMAGE/ci-$NAME:latest @@ -53,6 +55,8 @@ stages: script: - $PYTHON setup.py build - $PYTHON setup.py test + - $PYTHON setup.py sdist + - if test -x /usr/bin/rpmbuild && test $NAME != "opensuse-151" ; then rpmbuild --nodeps -ta dist/libvirt-python*tar.gz ; fi # Check that all commits are signed-off for the DCO. # Skip on "libvirt" namespace, since we only need to run |