Commit 5f544396bb4008900a9ded57e2ba3b59b21b4810
1 parent
1b3e9628
Use env var to specify coverage folder.
Showing
1 changed file
with
4 additions
and
6 deletions
@@ -12,16 +12,13 @@ build: | @@ -12,16 +12,13 @@ build: | ||
12 | script: | 12 | script: |
13 | - make | 13 | - make |
14 | 14 | ||
15 | -.coverage: &coverage | ||
16 | - - make coverage-html | ||
17 | - - ssh ci_upload@192.168.20.60 install -d trbase | ||
18 | - | ||
19 | coverage:dev: | 15 | coverage:dev: |
20 | stage: test | 16 | stage: test |
21 | except: | 17 | except: |
22 | - tags | 18 | - tags |
23 | script: | 19 | script: |
24 | - <<: *coverage | 20 | + - make coverage-html |
21 | + - ssh ci_upload@192.168.20.60 install -d trbase | ||
25 | - > | 22 | - > |
26 | rsync -vaurl --delete tests/coverage/* | 23 | rsync -vaurl --delete tests/coverage/* |
27 | ci_upload@192.168.20.60:~/trbase/coverage_${CI_BUILD_ID} | 24 | ci_upload@192.168.20.60:~/trbase/coverage_${CI_BUILD_ID} |
@@ -34,7 +31,8 @@ coverage:tag: | @@ -34,7 +31,8 @@ coverage:tag: | ||
34 | only: | 31 | only: |
35 | - tags | 32 | - tags |
36 | script: | 33 | script: |
37 | - <<: *coverage | 34 | + - make coverage-html |
35 | + - ssh ci_upload@192.168.20.60 install -d trbase | ||
38 | - rsync -vaurl --delete tests/coverage ci_upload@192.168.20.60:~/trbase/ | 36 | - rsync -vaurl --delete tests/coverage ci_upload@192.168.20.60:~/trbase/ |
39 | - ssh ci_upload@192.168.20.60 ln -s trbase/coverage trbase/coverage_latest | 37 | - ssh ci_upload@192.168.20.60 ln -s trbase/coverage trbase/coverage_latest |
40 | 38 |
Please
register
or
login
to post a comment