-
Notifications
You must be signed in to change notification settings - Fork 91
/
Copy path.travis.yml
54 lines (42 loc) · 1.1 KB
/
.travis.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
dist: focal
language: ruby
rvm: 3.2.2
git:
depth: 10
cache:
bundler: true
timeout: 600
stages:
- name: prepare cache
- name: test
- name: ":ship: it to quay.io"
if: commit_message =~ /ship:docker/ OR env(SHIP_DOCKER) = true
before_install:
- gem install rubygems-update -v 3.4.22
- gem update --silent --system 3.4.13
- 'echo "gem: --no-document" >> ~/.gemrc' # Skip installing documentation
# - gem install bundler -v $(awk '/BUNDLED WITH/{getline; print}' Gemfile.lock)
jobs:
include:
- stage: prepare cache
script: true
- stage: test
name: rspec
script:
- bundle exec rspec
- stage: test
name: integration_configs
script:
- bundle exec rspec spec/integrate/configs_spec.rb --tag integration_configs
- stage: test
name: integration_matrix
script:
- bundle exec rspec spec/integrate/matrix_spec.rb --tag integration_matrix
- stage: ":ship: it to quay.io"
dist: jammy
language: minimal
cache:
bundler: false
before_install: skip
install: skip
script: make ship