Class system and tools for the taskrambler framework.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

46 lines
947 B

stages:
- build
- test
- deploy
before_script:
- ./bootstrap
- ./configure --enable-gcov
build:
stage: build
script:
- make
coverage:dev:
stage: test
except:
- tags
script:
- make coverage-html
- ssh ci_upload@192.168.20.60 install -d trbase
- >
rsync -vaurl --delete tests/coverage/*/
ci_upload@192.168.20.60:~/trbase/coverage_${CI_BUILD_ID}
- >
ssh ci_upload@192.168.20.60
ln -s trbase/coverage_${CI_BUILD_ID} trbase/coverage_latest
coverage:tag:
stage: test
only:
- tags
script:
- make coverage-html
- ssh ci_upload@192.168.20.60 install -d trbase
- rsync -vaurl --delete tests/coverage ci_upload@192.168.20.60:~/trbase/
- ssh ci_upload@192.168.20.60 ln -s trbase/coverage trbase/coverage_latest
dist:
stage: deploy
only:
- tags
script:
- make dist
- ssh ci_upload@192.168.20.60 install -d trbase/artifacts
- scp libtrbase-*.tar.gz ci_upload@192.168.20.60:~/trbase/artifacts