finnball pushed to branch finn/debian-stable at BuildGrid / buildgrid
Commits:
-
fde545bc
by finn at 2018-07-27T08:45:06Z
1 changed file:
Changes:
... | ... | @@ -11,6 +11,22 @@ before_script: |
11 | 11 |
- export PATH=~/.local/bin:${PATH}
|
12 | 12 |
- pip3 install --user -e .
|
13 | 13 |
|
14 |
+.linux-tests-template: &linux-tests
|
|
15 |
+ stage: test
|
|
16 |
+ variables:
|
|
17 |
+ PYTEST_ADDOPTS: "--color=yes"
|
|
18 |
+ scripts:
|
|
19 |
+ - python3 setup.py test
|
|
20 |
+ - mkdir -p coverage/
|
|
21 |
+ - cp .coverage.* coverage/coverage."${CI_JOB_NAME}"
|
|
22 |
+ artifacts:
|
|
23 |
+ paths:
|
|
24 |
+ - coverage/
|
|
25 |
+ |
|
26 |
+tests-debian:
|
|
27 |
+ image: buildstream/buildstream-debian
|
|
28 |
+ <<: *linux-tests
|
|
29 |
+ |
|
14 | 30 |
tests-fedora:
|
15 | 31 |
stage: test
|
16 | 32 |
variables:
|
... | ... | @@ -24,7 +40,6 @@ tests-fedora: |
24 | 40 |
paths:
|
25 | 41 |
- coverage/
|
26 | 42 |
|
27 |
- |
|
28 | 43 |
tests-dummy-job-fedora:
|
29 | 44 |
stage: test
|
30 | 45 |
script:
|