From 54d52b81c29e69a1a27a3a2c1ab7280ac21dcb40 Mon Sep 17 00:00:00 2001 From: Antonio Terceiro Date: Fri, 11 Dec 2015 13:31:44 -0200 Subject: [PATCH] .gitlab-ci.yml: separate tests in stages --- .gitlab-ci.yml | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f183414..feda6ef 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -4,16 +4,35 @@ before_script: - mkdir -p locale # makes quick-start skip compiling translations - ./script/silent-quick-start +stages: + - smoke-tests + - not-so-slow-tests + - slow-tests + +smoke: + script: bundle exec rake ci:smoke + stage: smoke-tests + units: script: bundle exec rake test:units + stage: not-so-slow-tests + functionals: script: bundle exec rake test:functionals + stage: not-so-slow-tests + integration: script: bundle exec rake test:integration + stage: not-so-slow-tests + cucumber: script: bundle exec rake cucumber + stage: slow-tests + selenium: script: bundle exec rake selenium + stage: slow-tests + plugins: script: bundle exec rake test:noosfero_plugins - + stage: slow-tests -- libgit2 0.21.2