Chandan Singh pushed to branch chandan/add-installable-check at BuildStream / buildstream
Commits:
-
80e670c7
by Chandan Singh at 2018-08-08T01:18:20Z
1 changed file:
Changes:
... | ... | @@ -7,6 +7,7 @@ cache: |
7 | 7 |
|
8 | 8 |
stages:
|
9 | 9 |
- prepare
|
10 |
+ - preflight
|
|
10 | 11 |
- test
|
11 | 12 |
- post
|
12 | 13 |
|
... | ... | @@ -51,6 +52,17 @@ source_dist: |
51 | 52 |
- dist/
|
52 | 53 |
|
53 | 54 |
|
55 |
+#####################################################
|
|
56 |
+# Preflight stage #
|
|
57 |
+#####################################################
|
|
58 |
+ |
|
59 |
+# Ensure that our source distribution can be installed successfully
|
|
60 |
+#
|
|
61 |
+test_install:
|
|
62 |
+ stage: preflight
|
|
63 |
+ script:
|
|
64 |
+ - pip3 install dist/*.tar.gz
|
|
65 |
+ |
|
54 | 66 |
#####################################################
|
55 | 67 |
# Test stage #
|
56 | 68 |
#####################################################
|