diff options
author | Chandan Singh <csingh43@bloomberg.net> | 2018-08-24 02:16:55 +0100 |
---|---|---|
committer | Chandan Singh <csingh43@bloomberg.net> | 2018-08-24 03:12:03 +0100 |
commit | 56096b60daac029900e032f6953536be89783836 (patch) | |
tree | a36da5fc37c5d61725632c28077ce6c230069fb1 | |
parent | 8216ff8dac91692c9358c3e535f5a0a2c26c1332 (diff) | |
download | buildstream-56096b60daac029900e032f6953536be89783836.tar.gz |
.gitlab-ci.yml: Verify that source tarball installs correctlychandan/ci-sdist-test
Add a check to verify that the source distribution tarball that we
generate installs corrctly. It is useful to do this check as this is the
same tarball will be used when installing BuildStream via PyPI.
This check also happens indirectly in the coverage job where we install
BuildStream but this check makes it more explicit and will also cause
the CI to fail early if the tarball is not correct.
-rw-r--r-- | .gitlab-ci.yml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a5aa0bc45..d93704bb0 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -36,6 +36,11 @@ source_dist: - tar -ztf dist/* - tarball=$(cd dist && echo $(ls *)) + # Verify that the source distribution tarball can be installed correctly + # + - pip3 install dist/*.tar.gz + - bst --version + # unpack tarball as `dist/buildstream` directory - | cat > dist/unpack.sh << EOF |