blob: efc3375d446890f6c80f0264ea3e97c714b59ca0 (
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
34
35
36
|
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 bash build-base git ruby ruby-bigdecimal ruby-bundler ruby-dev ruby-json
- ./bin/setup
- ./bin/test --format RspecJunitFormatter --out rspec.xml
cache:
key: ${CI_COMMIT_REF_SLUG}
paths:
- vendor
artifacts:
paths:
- rspec.xml
reports:
junit: rspec.xml
|