Commit 5f544396bb4008900a9ded57e2ba3b59b21b4810

Authored by Georg Hopp
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 12 script:
13 13 - make
14 14
15   -.coverage: &coverage
16   - - make coverage-html
17   - - ssh ci_upload@192.168.20.60 install -d trbase
18   -
19 15 coverage:dev:
20 16 stage: test
21 17 except:
22 18 - tags
23 19 script:
24   - <<: *coverage
  20 + - make coverage-html
  21 + - ssh ci_upload@192.168.20.60 install -d trbase
25 22 - >
26 23 rsync -vaurl --delete tests/coverage/*
27 24 ci_upload@192.168.20.60:~/trbase/coverage_${CI_BUILD_ID}
... ... @@ -34,7 +31,8 @@ coverage:tag:
34 31 only:
35 32 - tags
36 33 script:
37   - <<: *coverage
  34 + - make coverage-html
  35 + - ssh ci_upload@192.168.20.60 install -d trbase
38 36 - rsync -vaurl --delete tests/coverage ci_upload@192.168.20.60:~/trbase/
39 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