-
Notifications
You must be signed in to change notification settings - Fork 2
/
.gitlab-ci.yml
62 lines (53 loc) · 1.08 KB
/
.gitlab-ci.yml
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
stages:
- lint
- rubocop
- rspec
- beaker_apply
- beaker_agent
before_script:
- ruby -v
- bundle --version
- gem --version
- rm Gemfile.lock || true
- bundle install --path=${BUNDLE_PATH:-vendor/bundle}
lint:
stage: rspec
script:
- bundle exec rake validate lint
rubocop:
stage: rubocop
script:
- bundle exec rake rubocop
rspec:
stage: rspec
script:
- bundle exec rake spec
beaker_trusty_apply:
stage: beaker_apply
variables:
BEAKER_set: docker/ubuntu-14.04
BEAKER_TESTMODE: apply
script:
- bundle exec rake beaker
beaker_xenial_apply:
stage: beaker_apply
variables:
BEAKER_set: docker/ubuntu-16.04
BEAKER_TESTMODE: apply
script:
- bundle exec rake beaker
beaker_trusty_agent:
stage: beaker_agent
variables:
BEAKER_set: docker/ubuntu-master-14.04
BEAKER_TESTMODE: agent
script:
- bundle exec rake beaker
beaker_xenial_agent:
stage: beaker_agent
variables:
BEAKER_set: docker/ubuntu-master-16.04
BEAKER_TESTMODE: agent
BEAKER_debug: 'on'
script:
- bundle exec rake beaker