summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
blob: e4720fc585d7cf7bed120ad4325cd43b01d41efd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
before_script:
  - ruby -v
  - bundle install --path vendor/bundle --jobs $(nproc)  "${FLAGS[@]}"
  - git submodule update --init

stages:
  - syntax
  - rspec

lint:
  stage: syntax
  script:
    - bundle exec rake lint

syntax:
  stage: syntax
  script:
    - bundle exec rake syntax

validate:
  stage: syntax
  script:
    - bundle exec rake validate

templates:
  stage: syntax
  script:
    - bundle exec rake templates

rspec:
  stage: rspec
  script:
    - bundle exec rake spec