-
-
Notifications
You must be signed in to change notification settings - Fork 20
/
.gitlab-ci.yml
57 lines (46 loc) · 1.14 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
# Official language image. Look for the different tagged releases at:
# https://hub.docker.com/r/library/ruby/tags/
image: ruby:latest
before_script:
- ruby -v
- bundle install -j $(nproc)
- ./spec/install_bash.sh
- bash --version
- id
- env
audit:
script:
- bundle exec rake bundle:audit:update
- bundle exec rake bundle:audit:check
build:
script:
- bundle exec rake build
- bundle exec rake build:checksum
- cat checksums/*
cucumber:
script: bundle exec rake cucumber
# Current Bash versions can be found at https://git.savannah.gnu.org/cgit/bash.git
rspec-bash-5.2:
variables:
INSTALL_BASH_VERSION: "5.2"
script: bundle exec rake spec
rspec-bash-5.1:
variables:
INSTALL_BASH_VERSION: "5.1"
script: bundle exec rake spec
rspec-bash-5.0:
variables:
INSTALL_BASH_VERSION: "5.0"
script: bundle exec rake spec
rspec-bash-4.4:
variables:
INSTALL_BASH_VERSION: "4.4"
script: bundle exec rake spec
rspec-bash-4.3:
variables:
INSTALL_BASH_VERSION: "4.3"
script: bundle exec rake spec
rubocop:
script: bundle exec rake rubocop
yard:
script: bundle exec yard stats --list-undoc