Skip to content
Snippets Groups Projects
Commit 43bc96fe authored by Stéphane Del Pino's avatar Stéphane Del Pino Committed by Stéphane Del Pino
Browse files

Update .gitlab-ci.yml

parent 15e3a4c3
No related branches found
No related tags found
1 merge request!4Cicd
......@@ -13,6 +13,7 @@ cache:
stages:
- build
- test
- deploy
build:
stage: build
......@@ -22,10 +23,23 @@ build:
- CXX=g++-7 CC=gcc-7 cmake .. -DCMAKE_BUILD_TYPE=Coverage
- make pastis
test:
tests:
stage: test
script:
- ls > /dev/null # seems necessary to ensure build is here...
- cd build
- make unit_tests
- make coverage-report
pages:
stage: deploy
dependencies:
- tests
script:
- ls > /dev/null # seems necessary to ensure build is here...
- rm -rf public/
- mv build/coverage/ public/
artifacts:
paths:
- public
expire_in: 30 days
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment