Commit 54d52b81c29e69a1a27a3a2c1ab7280ac21dcb40

Authored by Antonio Terceiro
1 parent 29486555
Exists in master

.gitlab-ci.yml: separate tests in stages

Showing 1 changed file with 20 additions and 1 deletions   Show diff stats
.gitlab-ci.yml
@@ -4,16 +4,35 @@ before_script: @@ -4,16 +4,35 @@ before_script:
4 - mkdir -p locale # makes quick-start skip compiling translations 4 - mkdir -p locale # makes quick-start skip compiling translations
5 - ./script/silent-quick-start 5 - ./script/silent-quick-start
6 6
  7 +stages:
  8 + - smoke-tests
  9 + - not-so-slow-tests
  10 + - slow-tests
  11 +
  12 +smoke:
  13 + script: bundle exec rake ci:smoke
  14 + stage: smoke-tests
  15 +
7 units: 16 units:
8 script: bundle exec rake test:units 17 script: bundle exec rake test:units
  18 + stage: not-so-slow-tests
  19 +
9 functionals: 20 functionals:
10 script: bundle exec rake test:functionals 21 script: bundle exec rake test:functionals
  22 + stage: not-so-slow-tests
  23 +
11 integration: 24 integration:
12 script: bundle exec rake test:integration 25 script: bundle exec rake test:integration
  26 + stage: not-so-slow-tests
  27 +
13 cucumber: 28 cucumber:
14 script: bundle exec rake cucumber 29 script: bundle exec rake cucumber
  30 + stage: slow-tests
  31 +
15 selenium: 32 selenium:
16 script: bundle exec rake selenium 33 script: bundle exec rake selenium
  34 + stage: slow-tests
  35 +
17 plugins: 36 plugins:
18 script: bundle exec rake test:noosfero_plugins 37 script: bundle exec rake test:noosfero_plugins
19 - 38 + stage: slow-tests