diff options
-rw-r--r-- | .gitlab-ci.yml | 21 |
1 files changed, 14 insertions, 7 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a237607..517b965 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,5 +1,11 @@ image: ruby:2.5 +stages: + - build + - test + - late-test + - deploy + build: stage: build script: @@ -18,12 +24,19 @@ test: - PATH=../build/tools/hscript-validate:../build/tools/hscript-simulate:../build/owner:$PATH rspec --format RspecJunitFormatter --out rspec.xml artifacts: paths: + - build - tests/rspec.xml reports: junit: tests/rspec.xml -coverage: +valgrind: stage: test + script: + - cd build + - CTEST_OUTPUT_ON_FAILURE=TRUE ctest -R 'Valgrind*' + +coverage: + stage: late-test dependencies: - test script: @@ -38,12 +51,6 @@ coverage: reports: metrics: metrics.txt -valgrind: - stage: test - script: - - cd build - - CTEST_OUTPUT_ON_FAILURE=TRUE ctest -R 'Valgrind*' - pages: stage: deploy dependencies: |