summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
blob: 0d5bff6ad4a3d1ae856b5129560b675614678b33 (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
variables:
  DOCKER_DRIVER: overlay2
  GIT_DEPTH: "1"
  GIT_STRATEGY: fetch
  GIT_SUBMODULE_STRATEGY: 'recursive'

stages:
  - test

lint:
  stage: test
  image: ruby:alpine
  script:
    - apk add bash build-base git shellcheck
    - bin/setup
    - bin/lint
  needs: []

integration:
  image: docker:stable
  stage: test
  services:
    - docker:stable-dind
  script:
    - apk add build-base ruby ruby-bigdecimal ruby-bundler ruby-dev ruby-json
    - bundle install
    - bundle exec rspec