summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitlab-ci.yml12
1 files changed, 12 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 93fbea779..eb566979f 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -7,6 +7,7 @@ cache:
stages:
- prepare
+ - preflight
- test
- post
@@ -52,6 +53,17 @@ source_dist:
#####################################################
+# Preflight stage #
+#####################################################
+
+# Ensure that our source distribution can be installed successfully
+#
+test_install:
+ stage: preflight
+ script:
+ - pip3 install dist/*.tar.gz
+
+#####################################################
# Test stage #
#####################################################