summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-11-07 22:26:13 -0600
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-11-07 22:26:13 -0600
commit4837ca59f682074f2bc99d35021a0ee63322f1f8 (patch)
tree265de891ad166f3db85b7ebf3bea55e3c5a0c119
parentdd80bc1f6f48457ca03ceb22670c2f6b6c0dbb47 (diff)
downloadhorizon-4837ca59f682074f2bc99d35021a0ee63322f1f8.tar.gz
horizon-4837ca59f682074f2bc99d35021a0ee63322f1f8.tar.bz2
horizon-4837ca59f682074f2bc99d35021a0ee63322f1f8.tar.xz
horizon-4837ca59f682074f2bc99d35021a0ee63322f1f8.zip
CI: *paws raised in exasperation*
-rw-r--r--.gitlab-ci.yml21
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: